Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: recipe_modules/shutil/example.expected/basic.json

Issue 2146523003: shutil recipe_module: port chromium_utils rmtree implementation. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: nit Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « recipe_modules/shutil/example.py ('k') | recipe_modules/shutil/resources/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", 6 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
7 "bar" 7 "bar"
8 ], 8 ],
9 "name": "foo", 9 "name": "foo",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 "@@@STEP_LOG_LINE@python.inline@@@@", 221 "@@@STEP_LOG_LINE@python.inline@@@@",
222 "@@@STEP_LOG_LINE@python.inline@import shutil, sys@@@", 222 "@@@STEP_LOG_LINE@python.inline@import shutil, sys@@@",
223 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1])@@@", 223 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1])@@@",
224 "@@@STEP_LOG_END@python.inline@@@" 224 "@@@STEP_LOG_END@python.inline@@@"
225 ] 225 ]
226 }, 226 },
227 { 227 {
228 "cmd": [ 228 "cmd": [
229 "python", 229 "python",
230 "-u", 230 "-u",
231 "\nimport shutil, sys\nshutil.rmtree(sys.argv[1])\n", 231 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
232 "[TMP_BASE]/copytree_example_tmp2" 232 "[TMP_BASE]/copytree_example_tmp2"
233 ], 233 ],
234 "name": "cleanup2", 234 "name": "cleanup2"
235 "~followup_annotations": [
236 "@@@STEP_LOG_LINE@python.inline@@@@",
237 "@@@STEP_LOG_LINE@python.inline@import shutil, sys@@@",
238 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1])@@@",
239 "@@@STEP_LOG_END@python.inline@@@"
240 ]
241 }, 235 },
242 { 236 {
243 "name": "$result", 237 "name": "$result",
244 "recipe_result": null, 238 "recipe_result": null,
245 "status_code": 0 239 "status_code": 0
246 } 240 }
247 ] 241 ]
OLDNEW
« no previous file with comments | « recipe_modules/shutil/example.py ('k') | recipe_modules/shutil/resources/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698