Commit dfefdf62 authored by Thiago Santos's avatar Thiago Santos Committed by Sebastian Dröge
Browse files

recipe: add __str__ for universal recipes

makes it easier to spot which recipe fails when testing builds
parent 61355a4a
......@@ -260,6 +260,11 @@ class UniversalRecipe(object):
self._recipes = {}
self._proxy_recipe = None
def __str__(self):
if self._recipes.values():
return str(self._recipes.values()[0])
return super(UniversalRecipe, self).__str__()
def add_recipe(self, recipe):
'''
Adds a new recipe to the group
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment