Author: David Schneider <[email protected]>
Branch: 
Changeset: r650:fc6990047221
Date: 2012-07-13 11:05 +0200
http://bitbucket.org/pypy/buildbot/changeset/fc6990047221/

Log:    make the channel depend on the debugging flag

diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybuildbot/master.py
--- a/bot2/pypybuildbot/master.py
+++ b/bot2/pypybuildbot/master.py
@@ -6,6 +6,7 @@
 #from buildbot import manhole
 from pypybuildbot.pypylist import PyPyList
 from pypybuildbot.ircbot import IRC # side effects
+from pypybuildbot.util import we_are_debugging
 
 # Forbid "force build" with empty user name
 from buildbot.status.web.builder import StatusResourceBuilder
@@ -18,7 +19,7 @@
     StatusResourceBuilder.force = my_force
 # Done
 
-if getpass.getuser() == 'antocuni':
+if we_are_debugging():
     channel = '#buildbot-test'
 else:
     channel = '#pypy'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to