]> git.ipfire.org Git - nitsi.git/blobdiff - src/nitsi/recipe.py
Make class names camel-case
[nitsi.git] / src / nitsi / recipe.py
index f76066a96e1b2638727c1a8f2028780a058de58e..dc7bf60aa05964be527648dbaea2b57eee67a34b 100644 (file)
@@ -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)