fix pyflakes errors
This commit is contained in:
parent
41a853dbad
commit
b6f3b39744
4 changed files with 3 additions and 6 deletions
|
|
@ -38,7 +38,7 @@ from weboob.backends.aum.pages.login import LoginPage, RedirectPage, BanPage, Er
|
||||||
from weboob.backends.aum.pages.edit import EditPhotoPage, EditPhotoCbPage, EditAnnouncePage, EditDescriptionPage, EditSexPage, EditPersonalityPage
|
from weboob.backends.aum.pages.edit import EditPhotoPage, EditPhotoCbPage, EditAnnouncePage, EditDescriptionPage, EditSexPage, EditPersonalityPage
|
||||||
from weboob.backends.aum.pages.wait import WaitPage
|
from weboob.backends.aum.pages.wait import WaitPage
|
||||||
|
|
||||||
from weboob.capabilities.chat import ChatContact, ChatMessage
|
from weboob.capabilities.chat import ChatContact, ChatException, ChatMessage
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['AdopteUnMec']
|
__all__ = ['AdopteUnMec']
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ class WeboobCfg(ConsoleApplication):
|
||||||
print u'Backend "%s" successfully added under instance name "%s" to file %s. Please check configuration parameters values.' % (
|
print u'Backend "%s" successfully added under instance name "%s" to file %s. Please check configuration parameters values.' % (
|
||||||
name, new_name, self.weboob.backends_config.confpath)
|
name, new_name, self.weboob.backends_config.confpath)
|
||||||
break
|
break
|
||||||
except ConfigParser.DuplicateSectionError, e:
|
except ConfigParser.DuplicateSectionError:
|
||||||
print u'Instance "%s" is already configured for backend "%s".' % (new_name, name)
|
print u'Instance "%s" is already configured for backend "%s".' % (new_name, name)
|
||||||
|
|
||||||
@ConsoleApplication.command('List backends')
|
@ConsoleApplication.command('List backends')
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import weboob
|
||||||
from weboob.modules import BackendsConfig
|
from weboob.modules import BackendsConfig
|
||||||
|
|
||||||
from .base import BaseApplication
|
from .base import BaseApplication
|
||||||
from .formatters import formatters_classes, SimpleFormatter
|
from .formatters import formatters_classes
|
||||||
from .results import Results, WhereCondition, WhereConditionException
|
from .results import Results, WhereCondition, WhereConditionException
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,6 @@
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
|
||||||
from ..results import WhereCondition, WhereConditionException
|
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['SimpleFormatter']
|
__all__ = ['SimpleFormatter']
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue