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

Unified Diff: tools/promote.py

Issue 1168133005: Remove invalid check from promote script (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/promote.py
diff --git a/tools/promote.py b/tools/promote.py
index ea420b416b65008eaff29aeb424c9299db65e17b..81ab4025479916d880faf7bc8758481c16994117 100644
--- a/tools/promote.py
+++ b/tools/promote.py
@@ -61,12 +61,6 @@ def main():
if options.revision is None:
die('You must specify a --revision to specify which revision to promote')
- # Make sure revision is a valid integer
- try:
- _ = int(options.revision)
- except:
- die('You must supply a valid integer argument to --revision to promote')
-
# Make sure options.channel is a valid
if not options.channel:
die('Specify --channel=be/dev/stable')
« 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