Browse Source

minor touchup to self.closed

Dave Schuyler 21 years ago
parent
commit
d12cc670aa
1 changed files with 1 additions and 7 deletions
  1. 1 7
      direct/src/directnotify/RotatingLog.py

+ 1 - 7
direct/src/directnotify/RotatingLog.py

@@ -36,13 +36,7 @@ class RotatingLog:
             self.file.flush()
             self.file.close()
             del self.file
-        if hasattr(self, "closed"):
-            del self.closed
-            del self.mode
-            del self.name
-            del self.softspace
-            #del self.encoding
-            #del self.newlines
+        self.closed = self.file.closed
 
     def shouldRotate(self):
         """