comparison autobot/template.py @ 257:9d5ec533e8df

use a test channel for the normal case
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 28 Dec 2011 13:10:31 -0800
parents 1a4cb5ae38e2
children 8ed63380052e
comparison
equal deleted inserted replaced
256:6e7f34386573 257:9d5ec533e8df
52 Variable('slaveport', 'port to talk to slaves on', default=9010, cast=int), 52 Variable('slaveport', 'port to talk to slaves on', default=9010, cast=int),
53 Variable('htmlport', 'port for waterfall display', default=8010, cast=int), 53 Variable('htmlport', 'port for waterfall display', default=8010, cast=int),
54 Variable('publichtmlport', 'port for public waterfall display', default=8011, cast=int), 54 Variable('publichtmlport', 'port for public waterfall display', default=8011, cast=int),
55 Variable('botname', 'name of IRC bot', default='autobot'), 55 Variable('botname', 'name of IRC bot', default='autobot'),
56 Variable('ircHost', 'IRC host', default='irc.mozilla.org'), 56 Variable('ircHost', 'IRC host', default='irc.mozilla.org'),
57 Variable('ircChannels', 'channels for the IRC bot', default='#ateam') 57 Variable('ircChannels', 'channels for the IRC bot', default='#ateam-test') # use #ateam in production
58 ] 58 ]
59 59
60 def pre(self, variables, output): 60 def pre(self, variables, output):
61 factory = variables.get('factories') 61 factory = variables.get('factories')
62 if factory: 62 if factory: