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

Unified Diff: tools/get_archive.py

Issue 534503002: Don't check for .boto file when getting drt. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « 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_archive.py
===================================================================
--- tools/get_archive.py (revision 39722)
+++ tools/get_archive.py (working copy)
@@ -100,22 +100,6 @@
return 'runhooks' in sys.argv
-def EnsureConfig():
- # If ~/.boto doesn't exist, tell the user to run "gsutil config"
- if not HasBotoConfig():
- print >>sys.stderr, '''
-*******************************************************************************
-* WARNING: Can't download content shell! This is required to test client apps.
-* You need to do a one-time configuration step to access Google Storage.
-* Please run this command and follow the instructions:
-* %s config
-*
-* NOTE: When prompted you can leave "project-id" blank. Just hit enter.
-*******************************************************************************
-''' % GSUTIL
- sys.exit(1)
-
-
def GetDartiumRevision(name, bot, directory, version_file, latest_pattern,
permanent_prefix, revision_num=None):
"""Get the latest binary that is stored in the dartium archive.
@@ -235,8 +219,6 @@
'%s.') % (system, name)
return 0
- EnsureConfig()
-
# Query for the latest version
pattern = latest_pattern % { 'osname' : osname, 'bot' : bot }
result, out = Gsutil('ls', pattern)
« 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