summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-16 14:22:25 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-07-17 10:38:47 +0000
commit359e4e252522d1978ed81e190fdc12acd4928349 (patch)
tree6766dbe75c130f34b4b6d2bcbfe837f9c5c1b7b4
parent399188f38bf9146561701b2bc8625b01c6179d06 (diff)
downloaddefinitions-359e4e252522d1978ed81e190fdc12acd4928349.tar.gz
Change --controllers to be a string list type setting
-rwxr-xr-xscripts/release-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/release-build b/scripts/release-build
index a53b70a5..75a06df0 100755
--- a/scripts/release-build
+++ b/scripts/release-build
@@ -46,7 +46,7 @@ class ReleaseApp(cliapp.Application):
'''Cliapp app that handles distbuilding and deploying a cluster.'''
def add_settings(self):
- self.settings.string(['controllers'],
+ self.settings.string_list(['controllers'],
'a list of distbuild controllers and their '
'architecture')
self.settings.string(['trove-host'],
@@ -55,7 +55,7 @@ class ReleaseApp(cliapp.Application):
def process_args(self, args):
'''Process the command line'''
self.controllers = {}
- controllers_list = self.settings['controllers'].split(', ')
+ controllers_list = self.settings['controllers']
for item in controllers_list:
arch, controller = item.split(':')
self.controllers[arch] = controller