1
0

Fix SocketPipe:

* add errcode 35 for BSD
* in addition, add a very long timeout to command line pipe, in order to prevent that exception to be raised.
This commit is contained in:
ThomasV
2015-09-03 10:47:57 +02:00
parent ebddbcb805
commit 4655c5f565
2 changed files with 2 additions and 2 deletions

View File

@@ -510,7 +510,7 @@ if __name__ == '__main__':
s = get_daemon(config, False)
if s:
p = util.SocketPipe(s)
p.set_timeout(False)
p.set_timeout(1000000)
p.send(config_options)
result = p.get()
s.close()