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

Unified Diff: trunk/tools/depot_tools/gclient.py

Issue 143183008: Revert 250524 "gclient: Use the correct bot hostnames to enable ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 | trunk/tools/depot_tools/tests/gclient_smoketest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/tools/depot_tools/gclient.py
===================================================================
--- trunk/tools/depot_tools/gclient.py (revision 250873)
+++ trunk/tools/depot_tools/gclient.py (working copy)
@@ -680,8 +680,9 @@
# doesn't cause the bots to break.
if not os.environ.get('CHROME_HEADLESS'):
return False
- return socket.gethostname() in ('vm859-m1', 'BUILD1-M1',
- 'vm630-m1.golo.chromium.org')
+ hostname = socket.gethostname()
+ logging.warning('Hostname of this machine: %s' % hostname)
+ return hostname in ('vm859-m1', 'build1-m1', 'vm630-m1')
# When updating, determine whether the destination directory contains a
# checkout of the desired repository. If not, avoid conflicts by
« no previous file with comments | « no previous file | trunk/tools/depot_tools/tests/gclient_smoketest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698