summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-16 22:39:57 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-16 22:39:57 +0100
commit720478f48b32208e9ff7cb3a48801c882e758509 (patch)
tree79165eea66570663edef8d2ebae57341126d8a9b
parentbade881690fe1af6b484f5f1706eaa8c08997b39 (diff)
downloadorchestration-720478f48b32208e9ff7cb3a48801c882e758509.tar.gz
Separate args
-rw-r--r--source/bottlerock.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py
index 17443e3..5575dfa 100644
--- a/source/bottlerock.py
+++ b/source/bottlerock.py
@@ -41,10 +41,14 @@ def sendchange(category,properties):
cmd = [
'../orchenv-master/bin/buildbot',
'sendchange',
- '-m %s:%d' % (IP,bb_port),
- '-a %s:%s' % (user,password),
- '-W scriptbot',
- '-C %s' % category]
+ '-m',
+ '%s:%d' % (IP,bb_port),
+ '-a',
+ '%s:%s' % (user,password),
+ '-W',
+ 'scriptbot',
+ '-C',
+ '%s' % category]
for property in properties.items():
cmd.append('-p %s:%s' % property)
log(cmd)