diff options
Diffstat (limited to 'ipapython')
-rw-r--r-- | ipapython/ipaldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index 1702daa25..ce07006eb 100644 --- a/ipapython/ipaldap.py +++ b/ipapython/ipaldap.py @@ -1527,7 +1527,7 @@ class LDAPClient(object): break if not res and not truncated: - raise errors.NotFound(reason='no such entry') + raise errors.EmptyResult(reason='no matching entry found') return (res, truncated) |