| Index: scripts/slave/recipe_modules/zip/example.py
|
| diff --git a/scripts/slave/recipe_modules/zip/example.py b/scripts/slave/recipe_modules/zip/example.py
|
| index c7e43d660581eefd63461dba66ca2851ebe23a16..0270ff29d261d71bd69cbbd1af8558774644d7b8 100644
|
| --- a/scripts/slave/recipe_modules/zip/example.py
|
| +++ b/scripts/slave/recipe_modules/zip/example.py
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| DEPS = [
|
| + 'file',
|
| 'path',
|
| 'platform',
|
| 'step',
|
| @@ -14,7 +15,7 @@ def GenSteps(api):
|
| temp = api.path.mkdtemp('zip-example')
|
| api.step('touch a', ['touch', temp.join('a')])
|
| api.step('touch b', ['touch', temp.join('b')])
|
| - api.path.makedirs('mkdirs', temp.join('sub', 'dir'))
|
| + api.file.makedirs('mkdirs', temp.join('sub', 'dir'))
|
| api.step('touch c', ['touch', temp.join('sub', 'dir', 'c')])
|
|
|
| # Build zip using 'zip.directory'.
|
| @@ -35,7 +36,7 @@ def GenSteps(api):
|
| # List unzipped content.
|
| api.step('listing', ['find'], cwd=temp.join('output'))
|
| # Clean up.
|
| - api.path.rmtree('cleanup', temp)
|
| + api.file.rmtree('cleanup', temp)
|
|
|
|
|
| def GenTests(api):
|
|
|