Heat canola oil in a large saucepan over medium high heat. Add onions and sauté onions until softened. Stir in garlic, red pepper flakes, and tomatoes. Simmer with lid on for 20 minutes.
Remove lid, stir, and simmer for 15 minutes. Stir in salt, sugar, oregano, and basil. Season with pepper to taste, and serve.