mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
resolve py3 bytes issue for django apps
This commit is contained in:
parent
e372a26342
commit
f7b9a08c9c
@ -273,7 +273,7 @@ class Arbiter(object):
|
|||||||
Wake up the arbiter by writing to the PIPE
|
Wake up the arbiter by writing to the PIPE
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
os.write(self.PIPE[1], '.')
|
os.write(self.PIPE[1], b'.')
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
if e.errno not in [errno.EAGAIN, errno.EINTR]:
|
if e.errno not in [errno.EAGAIN, errno.EINTR]:
|
||||||
raise
|
raise
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user