Heat the oil and 2tablespoons butter in a saucepan. Cook the onion and garlic in it, stirring occasionally, until onion is wilted. Add the thyme, bay leaf, sugar, salt, pepper, tomatoes with their liquid, and tomato paste. Simmer, stirring occasionally, 20 minutes.