Mercurial > hg > autobot
comparison autobot/template.py @ 259:aa36f82313f1
really use no channels, damn system calls
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 28 Dec 2011 16:53:05 -0800 |
parents | 8ed63380052e |
children | 13107cdc1e33 |
comparison
equal
deleted
inserted
replaced
258:8ed63380052e | 259:aa36f82313f1 |
---|---|
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-test'), # use autobot in production | 55 Variable('botname', 'name of IRC bot', default='autobot-test'), # use autobot in production |
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-test') # use #ateam in production | 57 Variable('ircChannels', 'channels for the IRC bot ("-" for none)', 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: |