X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fnitsi%2Frecipe.py;h=dc7bf60aa05964be527648dbaea2b57eee67a34b;hb=ee227ea12de1bbbdb31d37dbd5b12720d684afd3;hp=f76066a96e1b2638727c1a8f2028780a058de58e;hpb=cfd70f97e83157a052e32a01d6276aa37d9adab2;p=nitsi.git diff --git a/src/nitsi/recipe.py b/src/nitsi/recipe.py index f76066a..dc7bf60 100644 --- a/src/nitsi/recipe.py +++ b/src/nitsi/recipe.py @@ -15,7 +15,7 @@ class RecipeExeption(Exception): # Should read the test, check if the syntax are valid # and return tuples with the ( host, command ) structure -class recipe(): +class Recipe(): def __init__(self, path, circle=[], machines=[]): self.recipe_file = path try: @@ -107,7 +107,7 @@ class recipe(): self.log.error("Detect import loop!") raise RecipeExeption("Detect import loop!") self.circle.append(path) - recipe_to_include = recipe(path, circle=self.circle) + recipe_to_include = Recipe(path, circle=self.circle) if machine == "include": self._recipe.extend(recipe_to_include.recipe)