diff options
-rw-r--r-- | .pylintrc | 6 | ||||
-rw-r--r-- | deluge/log.py | 2 | ||||
-rw-r--r-- | deluge/ui/gtkui/dialogs.py | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -64,13 +64,13 @@ confidence= # Category per line (wrapped categories are indented) using symbolic names instead of ids. disable=missing-docstring, invalid-name, old-style-class, bad-continuation, wrong-import-position, wrong-import-order, - no-member, not-callable, no-name-in-module, super-on-old-class, + no-member, not-callable, no-name-in-module, locally-disabled, R, unused-argument, fixme, protected-access, import-error, unused-variable, global-statement, attribute-defined-outside-init, arguments-differ, - no-init, non-parent-init-called, super-init-not-called, - broad-except, pointless-except + no-init, super-init-not-called, + broad-except [REPORTS] diff --git a/deluge/log.py b/deluge/log.py index 4c2c9b620..eab4eaaa6 100644 --- a/deluge/log.py +++ b/deluge/log.py @@ -34,7 +34,7 @@ MAX_LOGGER_NAME_LENGTH = 10 class Logging(LoggingLoggerClass): def __init__(self, logger_name): - LoggingLoggerClass.__init__(self, logger_name) + super(Logging, self).__init__(logger_name) # This makes module name padding increase to the biggest module name # so that logs keep readability. diff --git a/deluge/ui/gtkui/dialogs.py b/deluge/ui/gtkui/dialogs.py index 97172571a..6a5a616e6 100644 --- a/deluge/ui/gtkui/dialogs.py +++ b/deluge/ui/gtkui/dialogs.py @@ -7,6 +7,8 @@ # See LICENSE for more details. # +# pylint: disable=super-on-old-class + import gtk from twisted.internet import defer |