summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/f_netgroup.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-01-28 21:47:21 -0700
committerRob Crittenden <rcritten@redhat.com>2009-02-03 15:29:04 -0500
commit5717c9d6689f15c46801f2d251e174fad4ce4748 (patch)
tree31e2a3378638bd63005a3d65d7fe74159860456c /ipalib/plugins/f_netgroup.py
parent48a278047db50f919a45ef82a57a6983804ed523 (diff)
downloadfreeipa.git-5717c9d6689f15c46801f2d251e174fad4ce4748.tar.gz
freeipa.git-5717c9d6689f15c46801f2d251e174fad4ce4748.tar.xz
freeipa.git-5717c9d6689f15c46801f2d251e174fad4ce4748.zip
Applied Rob's errors patch
Diffstat (limited to 'ipalib/plugins/f_netgroup.py')
-rw-r--r--ipalib/plugins/f_netgroup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/f_netgroup.py b/ipalib/plugins/f_netgroup.py
index 6ee55b0d..3fa81c7e 100644
--- a/ipalib/plugins/f_netgroup.py
+++ b/ipalib/plugins/f_netgroup.py
@@ -21,7 +21,7 @@
Frontend plugin for netgroups.
"""
-from ipalib import api, crud, errors
+from ipalib import api, crud, errors2
from ipalib import Object, Command # Plugin base classes
from ipalib import Str # Parameter types
from ipalib import uuid
@@ -53,7 +53,7 @@ def find_members(ldap, failed, members, attribute, filter=None):
try:
member_dn = ldap.find_entry_dn(attribute, m, filter)
found.append(member_dn)
- except errors.NotFound:
+ except errors2.NotFound:
failed.append(m)
continue