| Index: recipe_modules/shutil/api.py
|
| diff --git a/recipe_modules/shutil/api.py b/recipe_modules/shutil/api.py
|
| index e827093838ddb7d91a86d18fad80f6d2b0a6d414..05814de34fa8bdf527376f0abdd866f3becc2a20 100644
|
| --- a/recipe_modules/shutil/api.py
|
| +++ b/recipe_modules/shutil/api.py
|
| @@ -7,9 +7,12 @@ from recipe_engine import recipe_api
|
| class ShutilApi(recipe_api.RecipeApi):
|
| def rmtree(self, path, **kwargs):
|
| name = kwargs.pop('name', 'rmtree %s' % path)
|
| - self.m.python(
|
| + self.m.python.inline(
|
| name,
|
| - self.resource('rmtree.py'),
|
| + """
|
| + import shutil, sys
|
| + shutil.rmtree(sys.argv[1])
|
| + """,
|
| args=[path],
|
| **kwargs)
|
|
|
|
|