mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed cli.run() catching SystemExit exception under Python2.4
Resolves BZ #498088
This commit is contained in:
parent
b7438c3da2
commit
3f4a0a2d77
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user