Treatment was not enough

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Satoshi Kobayashi 2015-04-10 15:43:40 +09:00 committed by FUJITA Tomonori
parent 813379fea9
commit e2dfdbf580

View File

@ -58,7 +58,7 @@ def make_unix_socket(style, nonblock, bind_path, connect_path):
if sys.hexversion >= 0x02060000:
os.fchmod(sock.fileno(), 0o700)
else:
os.chmod("/dev/fd/%d" % sock.fileno(), 0700)
os.chmod("/dev/fd/%d" % sock.fileno(), 0o700)
except OSError as e:
pass
if connect_path is not None: