Fixed catching unnececcary exceptions
Exception Abort can't be thrown, so it is useless.
Catching SystemExit and KeyboardInterrupt makes little sense as the thread can
be terminated by KeyboardInterrupt before or after entering the wrapped command
processing function. So one have to handle these exceptions in his main function
anyway.
Catching any exception in order to print a message and re-raise it changes the
standard behaviour and might seem confusing.
usage: test_cmd.py <command> [options]
commands:
help Show help for a given help topic or a help overview
initdb Initialize database
runserver Run development server
test_cmd.py runserver [OPTIONS]
Run development server
options:
-l --listen ip to listen on (default: localhost)
-p --port port to listen on (default: 5000)
-c --config config file to use (default: webshops.ini)
-h --help display help