diff options
author | Martin Basti <mbasti@redhat.com> | 2016-02-12 17:30:10 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-02-25 13:48:44 +0100 |
commit | 0d39abddc27b0c348131dc3d0f3c5c538cd5f0b5 (patch) | |
tree | 5afa5d9e8947d85df7f4ffa6ad4f0a210fd6d665 /ipalib/backend.py | |
parent | 94a836dd46e5e041443b7da03e4ce8a7a7aaa7e3 (diff) | |
download | freeipa-0d39abddc27b0c348131dc3d0f3c5c538cd5f0b5.tar.gz freeipa-0d39abddc27b0c348131dc3d0f3c5c538cd5f0b5.tar.xz freeipa-0d39abddc27b0c348131dc3d0f3c5c538cd5f0b5.zip |
Remove duplicated except
Both exceptions have been catched before, so it is bacically dead code
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r-- | ipalib/backend.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ipalib/backend.py b/ipalib/backend.py index 342e17ec5..1bfb3e401 100644 --- a/ipalib/backend.py +++ b/ipalib/backend.py @@ -143,11 +143,6 @@ class Executioner(Backend): 'non-public: %s: %s', e.__class__.__name__, str(e) ) error = InternalError() - except Exception as e: - self.exception( - 'unhandled exception: %s: %s', e.__class__.__name__, str(e) - ) - error = InternalError() destroy_context() if error is None: return result |