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
1 changed files with 2 additions and 2 deletions

View File

@ -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."""