Fix log rotation which was inadvertently broken by changeset 11129:939f75570a15.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2006-08-16 16:06:32 +01:00
1 parent b8f69c1f51
commit 2d14977023
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ class XendRotatingFileHandler(logging.handlers.RotatingFileHandler):
self.setCloseOnExec()
def doRollover(self):
logging.handlers.RotatingFileHandler.doRollover()
logging.handlers.RotatingFileHandler.doRollover(self)
self.setCloseOnExec()
# NB yes accessing 'self.stream' violates OO encapsulation somewhat,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.