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

Unified Diff: client/example/4_swarming_run_manual_upload.py

Issue 1337633002: Reapply "Isolated task support in Endpoints API: client side (3/3)" and fixes" (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Final fixes Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/example/3_swarming_trigger_collect.py ('k') | client/example/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/example/4_swarming_run_manual_upload.py
diff --git a/client/example/4_swarming_run_manual_upload.py b/client/example/4_swarming_run_manual_upload.py
index 5da4cbd7057ad75d92587ad075925ba153707fbc..6728403d245c290bb0e3d3b1bec68a20eb33675e 100755
--- a/client/example/4_swarming_run_manual_upload.py
+++ b/client/example/4_swarming_run_manual_upload.py
@@ -83,7 +83,7 @@ def main():
common.run(cmd, options.verbose)
return 0
except subprocess.CalledProcessError as e:
- print e.returncode or 1
+ return e.returncode
if __name__ == '__main__':
« no previous file with comments | « client/example/3_swarming_trigger_collect.py ('k') | client/example/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698