1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2025-03-31 13:07:05 +02:00

Oops, debug.reset opens all the fds into the same file!

This commit is contained in:
Jeremy Fincher 2003-10-13 23:07:07 +00:00
parent 3ae813674e
commit a5042e2a3d

@ -115,8 +115,8 @@ def _open():
"""Implementation details; needed because Windows sucks."""
global _errorfd, _debugfd, _tracefd
_errorfd = file(_errorfd.name, 'a')
_debugfd = file(_errorfd.name, 'a')
_tracefd = file(_errorfd.name, 'w')
_debugfd = file(_debugfd.name, 'a')
_tracefd = file(_tracefd.name, 'w')
def reset():
"""Resets the various file descriptors kept open by this module."""