Mercurial > hg > autobot
changeset 132:da7af78edcb5
ensure the slaveport is an int
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 23 Jan 2011 17:02:05 -0800 |
parents | a14d466c843b |
children | 1abbe826d0f3 |
files | autobot/template.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/autobot/template.py Sun Jan 23 11:15:43 2011 -0800 +++ b/autobot/template.py Sun Jan 23 17:02:05 2011 -0800 @@ -80,7 +80,7 @@ def create(self, output, variables): command = ['buildslave', 'create-slave', output, - '%s:%d' % (variables['master'], variables['slaveport']), + '%s:%d' % (variables['master'], int(variables['slaveport'])), variables['slave'], variables['passwd'] ] print ' '.join(command)