From 2583e9d888d1e77fd2b23218be5f3ff5294be7cc Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 24 Oct 2015 13:26:59 +0100 Subject: [Lint] Code cleanup for PyLint run by prospector tool * Fix for pluginmanager multiple inheritance which in this case is using super incorrectly. * Explicitly disable pylint 'pointless-except' and 'super-on-old-class' that prospector tool somehow runs. * Make __all__ a tuple to supress pep257 warning. * Add a noqa for older versions of pyflakes. --- deluge/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deluge/log.py') diff --git a/deluge/log.py b/deluge/log.py index 8a2ce2aea..4f541d33b 100644 --- a/deluge/log.py +++ b/deluge/log.py @@ -20,7 +20,7 @@ from twisted.python.log import PythonLoggingObserver from deluge import common -__all__ = ["setup_logger", "set_logger_level", "get_plugin_logger", "LOG"] +__all__ = ("setup_logger", "set_logger_level", "get_plugin_logger", "LOG") LoggingLoggerClass = logging.getLoggerClass() -- cgit