Converting to str

This commit is contained in:
Sergio Durigan Junior 2015-06-17 01:01:52 -04:00
parent 738cfe6a89
commit 4c11d1f368

View file

@ -829,7 +829,7 @@ def load_config (c):
c['slaves'] = [BuildSlave (slave['name'], passwd[slave['name']], c['slaves'] = [BuildSlave (slave['name'], passwd[slave['name']],
max_builds = 1, max_builds = 1,
notify_on_missing = slave['admin'], notify_on_missing = [ str (slave['admin']) ],
missing_timeout = 300, missing_timeout = 300,
properties = { 'jobs' : slave['jobs'], properties = { 'jobs' : slave['jobs'],
'randomWait' : "%d" % random.randrange (1, 30) }) 'randomWait' : "%d" % random.randrange (1, 30) })