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

Unified Diff: tools/get_drt.py

Issue 8463021: Fix formatting on error string (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/get_drt.py
diff --git a/tools/get_drt.py b/tools/get_drt.py
index cecfba5f2def8c92d00c30df1ce0618fdfea7bed..1997946250034a89a70ec1dd812719b497bb2d9d 100755
--- a/tools/get_drt.py
+++ b/tools/get_drt.py
@@ -148,7 +148,7 @@ def main():
result, out = execute_command('unzip', temp_zip, '-d', temp_dir)
if result != 0:
raise Exception('Execution of "unzip %s -d %s" failed: %s' %
- temp_zip, temp_dir, str(output))
+ (temp_zip, temp_dir, str(output)))
Siggi Cherem (dart-lang) 2011/11/11 17:51:51 actually - should this be out instead of output?
unzipped_dir = temp_dir + '/' + os.path.basename(latest)[:-4] # remove .zip
shutil.move(unzipped_dir, DRT_DIR)
finally:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698