From d12cc670aa56e7be8e34ca02ebfe6a9f366cd687 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Thu, 10 Jun 2004 05:17:54 +0000 Subject: [PATCH] minor touchup to self.closed --- direct/src/directnotify/RotatingLog.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/direct/src/directnotify/RotatingLog.py b/direct/src/directnotify/RotatingLog.py index a14eb2c10e..57baf21a1d 100755 --- a/direct/src/directnotify/RotatingLog.py +++ b/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): """