Skip to content

Commit 7d3a04e

Browse files
committed
Remove Storage.__del__
On some machines the log message caused "Write to closed fd" while Python shutdown. It was never all that helpful...
1 parent 672da40 commit 7d3a04e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tracext/git/PyGIT.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ def __init__(self, git_dir, log, git_bin='git', git_fs_encoding=None):
262262
self.__commit_msg_cache = SizedDict(200)
263263
self.__commit_msg_lock = Lock()
264264

265-
def __del__(self):
266-
self.logger.debug("PyGIT.Storage instance %d destructed" % id(self))
267-
268265
#
269266
# cache handling
270267
#

0 commit comments

Comments
 (0)