mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Oops, debug.reset opens all the fds into the same file!
This commit is contained in:
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."""
|
||||
|
Loading…
Reference in New Issue
Block a user