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

Unified Diff: slave/buildbot.tac

Issue 4558002: Remove PYTHONPATH requirement to execute run_slave.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/slave
Patch Set: Created 10 years, 1 month 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 | « slave/Makefile ('k') | slave/run_slave.bat » ('j') | slave/run_slave.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/buildbot.tac
diff --git a/slave/buildbot.tac b/slave/buildbot.tac
index 3b540f95f48033b73781bf87036ad868c1747086..ffae3ce0a610a0a39a10c6fec4de1443442d4798 100644
--- a/slave/buildbot.tac
+++ b/slave/buildbot.tac
@@ -47,6 +47,12 @@ if password is None:
if ActiveMaster is None:
ActiveMaster = slave_utils.GetActiveMasterConfig()
+ if not ActiveMaster:
+ sys.stderr.write(
+ '\nCouldn\'t determine the slave type automatically.\n'
+ 'Please update buildbot.tac to set ActiveMaster and slavename to the\n'
+ 'relevant values.\n\n')
+ sys.exit(1)
if host is None:
host = ActiveMaster.master_host
« no previous file with comments | « slave/Makefile ('k') | slave/run_slave.bat » ('j') | slave/run_slave.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698