summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-16 22:44:51 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-16 22:44:51 +0100
commitc527ea7b90b1357aefc774af8177e31719d9d2ac (patch)
tree44038775c73e287fab04f423722e9158b71a70ef
parentb7172e58f85df34042869ea376b0e3589d788c0b (diff)
downloadorchestration-c527ea7b90b1357aefc774af8177e31719d9d2ac.tar.gz
Revert "Separate commandline args from flags"
This reverts commit bade881690fe1af6b484f5f1706eaa8c08997b39.
-rw-r--r--source/bottlerock.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py
index 17443e3..ece788b 100644
--- a/source/bottlerock.py
+++ b/source/bottlerock.py
@@ -41,12 +41,12 @@ 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),
+ '-Wscriptbot',
+ '-C%s' % category]
for property in properties.items():
- cmd.append('-p %s:%s' % property)
+ cmd.append('-p%s:%s' % property)
log(cmd)
if subprocess.call(cmd):
return HTTPResponse(status=500)