New PR here: https://github.com/dotcloud/docker-py/pull/165
Raising errors produces a traceback. For instance: >>> docker.Client().inspect_image("this_image_does_not_exist") Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/lib/python2.6/site-packages/docker/client.py", line 451, in inspect_image True File "/usr/lib/python2.6/site-packages/docker/client.py", line 119, in _result self._raise_for_status(response) File "/usr/lib/python2.6/site-packages/docker/client.py", line 105, in _raise_for_status raise APIError(e, response, explanation=explanation) File "/usr/lib/python2.6/site-packages/docker/client.py", line 36, in init super(APIError, self).init(message, response=response) TypeError: APIError does not take keyword arguments
This update has been submitted for stable.
This update has been submitted for testing