comparison autobot/template.py @ 272:72645086a0b7

* hook up email, i hope * fix failing tests, i also hope
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 31 Jul 2012 13:42:47 -0700
parents 13107cdc1e33
children 754cda797873
comparison
equal deleted inserted replaced
271:13107cdc1e33 272:72645086a0b7
48 Variable('publichtmlport', 'port for public waterfall display', default=8011, cast=int), 48 Variable('publichtmlport', 'port for public waterfall display', default=8011, cast=int),
49 Variable('botname', 'name of IRC bot', default='autobot-test'), # use autobot in production 49 Variable('botname', 'name of IRC bot', default='autobot-test'), # use autobot in production
50 Variable('ircHost', 'IRC host', default='irc.mozilla.org'), 50 Variable('ircHost', 'IRC host', default='irc.mozilla.org'),
51 Variable('ircChannels', 'channels for the IRC bot ("-" for none)', default='#ateam-test'), # use #ateam in production 51 Variable('ircChannels', 'channels for the IRC bot ("-" for none)', default='#ateam-test'), # use #ateam in production
52 Variable('domain', 'autobot domain name', default='localhost'), 52 Variable('domain', 'autobot domain name', default='localhost'),
53 Variable('recipients', 'email recipients for all projects') 53 Variable('recipients', 'email recipients for all projects', '')
54 ] 54 ]
55 55
56 def pre(self, variables, output): 56 def pre(self, variables, output):
57 factory = variables.get('factories') 57 factory = variables.get('factories')
58 if factory: 58 if factory: