Commit b489fbfb by Michael DeHaan

Merge pull request #6767 from mway/devel

don't parse empty stream chunks
parents f96618c9 034ac93c
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment