Remove invalid check from promote script

R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1168133005.
This commit is contained in:
Rico Wind 2015-06-09 13:39:49 +02:00
parent 44cf32beda
commit 6030dd9015

View file

@ -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')