From 0cbb9f61aa1d376bc1ed4aa52f7ea19423d50e92 Mon Sep 17 00:00:00 2001 From: Nick Stenning Date: Thu, 20 Jun 2013 22:02:48 +0100 Subject: [PATCH] Fix typo -- config is a dictionary `self.config` is a dictionary, not an object. References to `self.config.Cmd` should be `self.config['Cmd']`. --- docker/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/client.py b/docker/client.py index ce3240df..23232cd3 100644 --- a/docker/client.py +++ b/docker/client.py @@ -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: