freeipa/ipalib
Petr Viktorin 88ac1c1616 Rename caught exception for use outside the except: block.
In Python 3, the variable with the currently handled exception is unset
at the end of the except block. (This is done to break reference
cycles, since exception instances now carry tracebacks, which contain
all locals.)

Fix this in baseldap's error handler.

Use a simpler structure for the ipatests.raises utility that only uses the
exception inside the except block.

Reviewed-By: Tomas Babej <tbabej@redhat.com>
2015-10-13 14:16:32 +02:00
..
plugins Rename caught exception for use outside the except: block. 2015-10-13 14:16:32 +02:00
__init__.py Use absolute imports 2015-08-12 18:17:23 +02:00
aci.py Use new-style raise syntax 2015-09-01 11:42:01 +02:00
backend.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
base.py Modernize use of range() 2015-09-01 11:42:01 +02:00
capabilities.py dns_name_values capability added 2014-06-03 15:55:32 +02:00
certstore.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
cli.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
config.py Remove uses of the types module 2015-10-07 10:27:20 +02:00
constants.py vault: select a server with KRA for vault operations 2015-10-08 13:42:58 +02:00
crud.py Use absolute imports 2015-08-12 18:17:23 +02:00
errors.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
frontend.py Alias "unicode" to "str" under Python 3 2015-09-17 11:08:43 +02:00
krb_utils.py Rewrap errors in get_principal to CCacheError 2015-09-22 13:29:55 +02:00
messages.py realmdomains: Issue a warning when automated management of realmdomains failed 2015-10-12 13:34:20 +02:00
output.py Remove uses of the types module 2015-10-07 10:27:20 +02:00
parameters.py Do not compare types that are not comparable in Python 3 2015-10-13 14:16:32 +02:00
pkcs10.py Alias "unicode" to "str" under Python 3 2015-09-17 11:08:43 +02:00
plugable.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
request.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
rpc.py Remove uses of the types module 2015-10-07 10:27:20 +02:00
session.py Use six.moves.urllib instead of urllib/urllib2/urlparse 2015-10-07 10:27:20 +02:00
text.py Alias "unicode" to "str" under Python 3 2015-09-17 11:08:43 +02:00
util.py util: Add detect_dns_zone_realm_type helper 2015-10-12 13:34:20 +02:00
x509.py x509: Port to Python 3 2015-10-13 14:16:32 +02:00