Rename BaseApplication to Application
This commit is contained in:
parent
5a1d83b567
commit
a64c9f2edb
9 changed files with 22 additions and 22 deletions
|
|
@ -37,7 +37,7 @@ from weboob.tools.value import Value, ValueBool, ValueFloat, ValueInt, ValueBack
|
|||
from weboob.tools.misc import to_unicode
|
||||
from weboob.tools.ordereddict import OrderedDict
|
||||
|
||||
from .base import BaseApplication, MoreResultsAvailable
|
||||
from .base import Application, MoreResultsAvailable
|
||||
|
||||
|
||||
__all__ = ['ConsoleApplication', 'BackendNotGiven']
|
||||
|
|
@ -55,7 +55,7 @@ class BackendNotFound(Exception):
|
|||
pass
|
||||
|
||||
|
||||
class ConsoleApplication(BaseApplication):
|
||||
class ConsoleApplication(Application):
|
||||
"""
|
||||
Base application class for CLI applications.
|
||||
"""
|
||||
|
|
@ -74,7 +74,7 @@ class ConsoleApplication(BaseApplication):
|
|||
NC = '[0m' # no color
|
||||
|
||||
def __init__(self, option_parser=None):
|
||||
BaseApplication.__init__(self, option_parser)
|
||||
Application.__init__(self, option_parser)
|
||||
self.weboob.callbacks['login'] = self.login_cb
|
||||
self.enabled_backends = set()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue