Remove redundant error handling, as all these cases are handled in BaseProcess

This commit is contained in:
Stein Magnus Jodal 2010-08-20 12:34:13 +02:00
parent 7f95a3b0ba
commit aba0cc3ef3

View File

@ -43,14 +43,4 @@ def parse_options():
return parser.parse_args()[0]
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
logger.info(u'Interrupted by user')
sys.exit(0)
except SettingsError, e:
logger.error(e)
sys.exit(1)
except SystemExit, e:
logger.error(e)
sys.exit(1)
main()