mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #438 from sibsibsib/master
catch-all exception in arbiter absorbing bug
This commit is contained in:
commit
b304d8f508
@ -62,7 +62,7 @@ class Arbiter(object):
|
|||||||
try:
|
try:
|
||||||
a = os.stat(os.environ['PWD'])
|
a = os.stat(os.environ['PWD'])
|
||||||
b = os.stat(os.getcwd())
|
b = os.stat(os.getcwd())
|
||||||
if a.ino == b.ino and a.dev == b.dev:
|
if a.st_ino == b.st_ino and a.st_dev == b.st_dev:
|
||||||
cwd = os.environ['PWD']
|
cwd = os.environ['PWD']
|
||||||
else:
|
else:
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user