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

Unified Diff: tools/create_sdk.py

Issue 1142743002: Fix create sdk after revision being returned as real integer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
diff --git a/tools/create_sdk.py b/tools/create_sdk.py
index c9dec1ba42068861204252a0fa8f8f7b1d19167f..5f3ff48221995d4f3222e69e6552b78aeb457e39 100755
--- a/tools/create_sdk.py
+++ b/tools/create_sdk.py
@@ -257,7 +257,7 @@ def Main():
if revision is not None:
with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
- f.write(revision + '\n')
+ f.write('%s\n' % revision)
f.close()
Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README'))
« 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