Merge pull request #6767 from mway/devel

don't parse empty stream chunks
pull/6768/head
Michael DeHaan 11 years ago
commit b489fbfbf6

@ -137,6 +137,9 @@ class DockerImageManager:
self.changed = True
for chunk in stream:
if not chunk:
continue
chunk_json = json.loads(chunk)
if 'error' in chunk_json:

Loading…
Cancel
Save