def compare(self, compare_recipe, suffix='_compare'):
        """Adds a comparison recipe to a base recipe."""
        assert isinstance(compare_recipe, Recipe)
        assert isinstance(suffix, basestring)
        self.compare_recipe.append(compare_recipe)
        self.suffix.append(suffix)
        self.dirty = True
        return self.recipe
def compare ( self , compare_recipe , suffix = '_compare' ) : assert isinstance ( compare_recipe , Recipe ) assert isinstance ( suffix , basestring ) self . compare_recipe . append ( compare_recipe ) self . suffix . append ( suffix ) self . dirty = True return self . recipe
Adds a comparison recipe to a base recipe.