freeipa/ipalib
Tomas Babej 4d0d5913dd trusts: Make trust_show.get_dn raise properly formatted NotFound
The trust_show command does not raise a properly formatted NotFound
error if the trust is not found, only a generic EmptyResult error
is raised.

This patch makes the trust_show tell us what actually could not be
found.

https://fedorahosted.org/freeipa/ticket/5389

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2015-10-26 14:10:53 +01:00
..
plugins trusts: Make trust_show.get_dn raise properly formatted NotFound 2015-10-26 14:10:53 +01:00
__init__.py Use absolute imports 2015-08-12 18:17:23 +02:00
aci.py ipalib.aci: Port to Python 3 2015-10-13 14:16:32 +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 Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
constants.py enable topology plugin on upgrade 2015-10-15 14:24:33 +02:00
crud.py Use absolute imports 2015-08-12 18:17:23 +02:00
errors.py Add message property to IPA's errors and warnings under Python 3 2015-10-13 14:16:32 +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 ipalib.messages: Add "message" property to PublicMessage 2015-10-22 18:34:46 +02:00
output.py Remove uses of the types module 2015-10-07 10:27:20 +02:00
parameters.py Handle binascii.Error from base64.b64decode() 2015-10-22 18:34:46 +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 Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
session.py Use six.moves.urllib instead of urllib/urllib2/urlparse 2015-10-07 10:27:20 +02:00
text.py Work around ipalib.text (i18n) str/unicode handling 2015-10-22 18:34:46 +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