a lot of pyflakes and pylint fixes

This commit is contained in:
Romain Bignon 2010-08-13 22:23:10 +02:00
commit 404d7290ba
43 changed files with 94 additions and 13 deletions

View file

@ -223,8 +223,8 @@ class BaseApplication(object):
else:
res = getattr(backend, function)(*args, **kwargs)
if self.selected_fields:
fields = self.selected_fields
if selected_fields:
fields = selected_fields
else:
fields = None

View file

@ -17,3 +17,5 @@
from .webkitgtk import WebkitGtkFormatter
__all__ = ['WebkitGtkFormatter']

View file

@ -1,2 +1,5 @@
from .qt import QtApplication, QtMainWindow, QtDo, HTMLDelegate
from .backendcfg import BackendCfg
__all__ = ['QtApplication', 'QtMainWindow', 'QtDo', 'HTMLDelegate',
'BackendCfg']