diff options
| author | Martin Babinsky <mbabinsk@redhat.com> | 2016-11-28 10:22:26 +0100 |
|---|---|---|
| committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-11-30 09:40:43 +0100 |
| commit | 38cc40ddb5bf965801500bb4f66fd965b12e3c88 (patch) | |
| tree | 967429ee67fdfe740e6bbc9ee2db275f43cf9f81 /ipapython/errors.py | |
| parent | 0e093f938d8126f11fed920b7381ba6e3d07da5b (diff) | |
| download | freeipa-38cc40ddb5bf965801500bb4f66fd965b12e3c88.tar.gz freeipa-38cc40ddb5bf965801500bb4f66fd965b12e3c88.tar.xz freeipa-38cc40ddb5bf965801500bb4f66fd965b12e3c88.zip | |
Enhance __repr__ method of Principal
`__repr__` now returns more descriptive string containing the actual principal
name while keeping the ability to reconstruct the object from it.
This makes principal names visible in debug logs, easing troubleshooting a
bit.
https://fedorahosted.org/freeipa/ticket/6505
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'ipapython/errors.py')
0 files changed, 0 insertions, 0 deletions
