fix python3
This commit is contained in:
parent
32a6b8fd7a
commit
5e476843ec
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,6 @@ try:
|
||||||
|
|
||||||
for fd in r:
|
for fd in r:
|
||||||
line = fd.readline()
|
line = fd.readline()
|
||||||
sys.stderr.write(line)
|
|
||||||
if not line:
|
if not line:
|
||||||
if stage == 2 and fd == p3.stdout:
|
if stage == 2 and fd == p3.stdout:
|
||||||
stage = 3
|
stage = 3
|
||||||
|
@ -98,6 +97,7 @@ try:
|
||||||
stage = 5
|
stage = 5
|
||||||
if bytes != str:
|
if bytes != str:
|
||||||
line = str(line, 'utf8')
|
line = str(line, 'utf8')
|
||||||
|
sys.stderr.write(line)
|
||||||
if line.find('starting local') >= 0:
|
if line.find('starting local') >= 0:
|
||||||
local_ready = True
|
local_ready = True
|
||||||
if line.find('starting server') >= 0:
|
if line.find('starting server') >= 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue