Fix typo -- config is a dictionary

`self.config` is a dictionary, not an object. References to `self.config.Cmd`
should be `self.config['Cmd']`.
This commit is contained in:
Nick Stenning 2013-06-20 22:02:48 +01:00
parent bfbf1eac54
commit 0cbb9f61aa
1 changed files with 2 additions and 2 deletions

View File

@ -352,9 +352,9 @@ class BuilderClient(object):
self.config['Image'] = self.image
if id is None:
cmd = self.config['Cmd']
self.config.Cmd = ['true']
self.config['Cmd'] = ['true']
id = self.run()
self.config.Cmd = cmd
self.config['Cmd'] = cmd
res = self.client.commit(id, author=self.maintainer)
if 'Id' not in res: