diff options
author | Rob Crittenden <rcritten@redhat.com> | 2007-11-08 22:12:42 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2007-11-08 22:12:42 -0500 |
commit | e9dfbfa773149c57544e5c8e4d87a00fc9960bf1 (patch) | |
tree | 71eb26df5496b72e8a2f3eb4069f9a03a794905b /ipa-python | |
parent | 39dcd194ca6e2b677aa1f4726bf1a60016b20a67 (diff) | |
download | freeipa-e9dfbfa773149c57544e5c8e4d87a00fc9960bf1.tar.gz freeipa-e9dfbfa773149c57544e5c8e4d87a00fc9960bf1.tar.xz freeipa-e9dfbfa773149c57544e5c8e4d87a00fc9960bf1.zip |
Enable multi-value field support for some attributes on the edit pages
Better error reporting in the GUI
Include a document describing how multi-valued fields work
Diffstat (limited to 'ipa-python')
-rw-r--r-- | ipa-python/ipaerror.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipa-python/ipaerror.py b/ipa-python/ipaerror.py index 0106132ca..b10a9a8fc 100644 --- a/ipa-python/ipaerror.py +++ b/ipa-python/ipaerror.py @@ -28,6 +28,11 @@ class IPAError(exceptions.Exception): error.""" self.code = code self.message = message + # Fill this in as an empty LDAP error message so we don't have a lot + # of "if e.detail ..." everywhere + if detail is None: + detail = [] + detail.append({'desc':'','info':''}) self.detail = detail def __str__(self): |