mirror of
https://github.com/docker/compose.git
synced 2025-07-14 17:24:29 +02:00
Fixed error when using startswith on non-ascii string
Signed-off-by: Sebastien Mamessier <smamessier@uber.com>
This commit is contained in:
parent
4be2fa010a
commit
a3a23bf949
@ -1806,7 +1806,7 @@ class _CLIBuilder(object):
|
|||||||
line = p.stdout.readline()
|
line = p.stdout.readline()
|
||||||
if not line:
|
if not line:
|
||||||
break
|
break
|
||||||
if line.startswith(magic_word):
|
if line.startswith(str(magic_word)):
|
||||||
appear = True
|
appear = True
|
||||||
yield json.dumps({"stream": line})
|
yield json.dumps({"stream": line})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user