Fixed cli.run() catching SystemExit exception under Python2.4

Resolves BZ #498088
This commit is contained in:
Jason Gerard DeRose 2009-04-28 15:46:23 -06:00 committed by Rob Crittenden
parent b7438c3da2
commit 3f4a0a2d77

View File

@ -675,7 +675,7 @@ def run(api):
api.log.info('operation aborted') api.log.info('operation aborted')
except PublicError, e: except PublicError, e:
error = e error = e
except Exception, e: except StandardError, e:
api.log.exception('%s: %s', e.__class__.__name__, str(e)) api.log.exception('%s: %s', e.__class__.__name__, str(e))
error = InternalError() error = InternalError()
if error is not None: if error is not None: