don't close on exec STDOUT/STDERR

This commit is contained in:
benoitc 2013-04-21 12:09:46 +02:00
parent c9fcb25f51
commit ba25de4c1c

View File

@ -310,9 +310,6 @@ class Logger(object):
handler.release()
def close_on_exec(self):
for stream in sys.stdout, sys.stderr:
util.close_on_exec(stream.fileno())
for log in loggers():
for handler in log.handlers:
if isinstance(handler, logging.FileHandler):