Merge pull request #6767 from mway/devel

don't parse empty stream chunks
pull/4420/head
Michael DeHaan 2014-03-30 15:47:21 -04:00
commit b489fbfbf6
1 changed files with 3 additions and 0 deletions

View File

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