don't parse empty stream chunks

reviewable/pr18780/r1
Matt Way 11 years ago
parent eff2dc23c7
commit df9fe6c2b8

@ -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