Browse Source

[desktop] Python-2.6's logging.Handler is an old-style class

Erick Tryzelaar 11 years ago
parent
commit
b4bf797
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/redaction/tests.py

+ 1 - 1
desktop/core/src/desktop/redaction/tests.py

@@ -28,7 +28,7 @@ from nose.tools import assert_true, assert_equal, assert_not_equal
 
 class MockLoggingHandler(logging.Handler):
   def __init__(self, *args, **kwargs):
-    super(MockLoggingHandler, self).__init__(*args, **kwargs)
+    logging.Handler.__init__(self, *args, **kwargs)
 
     self.records = []