diff options
-rw-r--r-- | bitbake/lib/hashserv/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/hashserv/client.py b/bitbake/lib/hashserv/client.py index 0ffd0c2ae2..0b7f4e42e9 100644 --- a/bitbake/lib/hashserv/client.py +++ b/bitbake/lib/hashserv/client.py | |||
@@ -99,7 +99,7 @@ class AsyncClient(object): | |||
99 | l = await get_line() | 99 | l = await get_line() |
100 | 100 | ||
101 | m = json.loads(l) | 101 | m = json.loads(l) |
102 | if "chunk-stream" in m: | 102 | if m and "chunk-stream" in m: |
103 | lines = [] | 103 | lines = [] |
104 | while True: | 104 | while True: |
105 | l = (await get_line()).rstrip("\n") | 105 | l = (await get_line()).rstrip("\n") |