diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 22:37:00 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-16 22:37:00 +0100 |
commit | bade881690fe1af6b484f5f1706eaa8c08997b39 (patch) | |
tree | 2b3d312da19dcb9440bea9c613e3b7a2e59aa8e4 | |
parent | a6280f9d7a7e427d526798d7d4509aa2a7e094f0 (diff) | |
download | orchestration-bade881690fe1af6b484f5f1706eaa8c08997b39.tar.gz |
Separate commandline args from flags
-rw-r--r-- | source/bottlerock.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py index ece788b..17443e3 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), - '-Wscriptbot', - '-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) + cmd.append('-p %s:%s' % property) log(cmd) if subprocess.call(cmd): return HTTPResponse(status=500) |