new frontend 'weboobcfg'

This commit is contained in:
Romain Bignon 2010-04-06 22:53:07 +02:00
commit 7b2295cf6c
9 changed files with 167 additions and 49 deletions

View file

@ -115,7 +115,7 @@ class ConsoleApplication(BaseApplication):
sys.stderr.write("No such command: %s.\n" % command)
elif len(matching_commands) == 1:
try:
getattr(self, matching_commands[0])(*args)
return getattr(self, matching_commands[0])(*args)
except TypeError, e:
try:
sys.stderr.write("Command '%s' takes %s arguments.\n" % \