simplify code
This commit is contained in:
parent
5d9a0afefd
commit
bd447b3cf2
1 changed files with 1 additions and 3 deletions
|
|
@ -74,10 +74,8 @@ class ReplApplication(Cmd, BaseApplication):
|
||||||
self.weboob_commands = ['backends', 'condition', 'count', 'formatter', 'logging', 'select', 'quit']
|
self.weboob_commands = ['backends', 'condition', 'count', 'formatter', 'logging', 'select', 'quit']
|
||||||
self.hidden_commands = set(['EOF'])
|
self.hidden_commands = set(['EOF'])
|
||||||
|
|
||||||
option_parser = OptionParser(self.SYNOPSIS, version=self._get_optparse_version())
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
BaseApplication.__init__(self, option_parser=option_parser)
|
BaseApplication.__init__(self)
|
||||||
except BackendsConfig.WrongPermissions, e:
|
except BackendsConfig.WrongPermissions, e:
|
||||||
print e
|
print e
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue