# HG changeset patch # User Jeff Hammel # Date 1295830925 28800 # Node ID da7af78edcb56050480f8e640a6a0144205d8bb6 # Parent a14d466c843b10f9b554a19b676f1639e7b7f60d ensure the slaveport is an int diff -r a14d466c843b -r da7af78edcb5 autobot/template.py --- 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)