[pypy-commit] buildbot default: make the channel depend on the debugging flag

bivab noreply at buildbot.pypy.org
Fri Jul 13 11:07:22 CEST 2012

Author: David Schneider <david.schneider at picle.org>
Changeset: r650:fc6990047221
Date: 2012-07-13 11:05 +0200

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'
     channel = '#pypy'

More information about the pypy-commit mailing list