minor touchup to self.closed

This commit is contained in:
Dave Schuyler 2004-06-10 05:19:55 +00:00
parent d12cc670aa
commit 2522d77d95
1 changed files with 3 additions and 1 deletions

View File

@ -35,8 +35,10 @@ class RotatingLog:
if hasattr(self, "file"):
self.file.flush()
self.file.close()
self.closed = self.file.closed
del self.file
self.closed = self.file.closed
else:
self.closed = 1
def shouldRotate(self):
"""