diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-05-22 12:14:04 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-05-22 12:14:04 +0200 |
commit | 3fb354b6e59d47728e6ad0c9358ff146cddc8928 (patch) | |
tree | fc2f5e49cd0bc74e72d0c6adf8c5cf6637681774 | |
parent | ad06cf7986834e07b278e63e3de2a3d3ed9f6072 (diff) |
Add missing arguments constructing the InvaliRecipeError
-rw-r--r-- | recipes/gnustl.recipe | 2 | ||||
-rw-r--r-- | recipes/mingw-runtime.recipe | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/gnustl.recipe b/recipes/gnustl.recipe index 945afbef..6d7e4ae7 100644 --- a/recipes/gnustl.recipe +++ b/recipes/gnustl.recipe @@ -23,7 +23,7 @@ class Recipe(recipe.Recipe): def prepare(self): if self.config.target_platform != Platform.ANDROID: - raise InvalidRecipeError("Invalid platform") + raise InvalidRecipeError(self, "Invalid platform") def install(self): stl_prefix = os.path.join(self.config.toolchain_prefix, 'sources', diff --git a/recipes/mingw-runtime.recipe b/recipes/mingw-runtime.recipe index 7aa1f362..15ddb152 100644 --- a/recipes/mingw-runtime.recipe +++ b/recipes/mingw-runtime.recipe @@ -16,7 +16,7 @@ class Recipe(recipe.Recipe): def prepare(self): if self.config.target_platform != Platform.WINDOWS: - raise InvalidRecipeError("Invalid platform") + raise InvalidRecipeError(self, "Invalid platform") # mingw's static libraries self.mingw_static_files = ['%(host)s/lib/libmingwex.a', '%(host)s/lib/libdxerr9.a', |