repl: interactive add of backends when no one is loaded at startup
This commit is contained in:
parent
aee0e49cc8
commit
04037e7893
13 changed files with 144 additions and 106 deletions
|
|
@ -306,7 +306,9 @@ class BaseApplication(object):
|
|||
sys.exit(app.main(args))
|
||||
except KeyboardInterrupt:
|
||||
print 'Program killed by SIGINT'
|
||||
sys.exit(0) # XXX is it really the right exit code? -romain
|
||||
sys.exit(0)
|
||||
except EOFError:
|
||||
sys.exit(0)
|
||||
except ConfigError, e:
|
||||
print 'Configuration error: %s' % e
|
||||
sys.exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue