summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipa_server/ipaldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa_server/ipaldap.py b/ipa_server/ipaldap.py
index e7c56e5d6..f520475e5 100644
--- a/ipa_server/ipaldap.py
+++ b/ipa_server/ipaldap.py
@@ -538,7 +538,7 @@ def notfound(args):
# Python re doesn't do paren counting so the string could
# have a trailing paren "foo)"
target = re.match(r'\(.*=(.*)\)', searchfilter).group(1)
- target.replace(")","")
+ target = target.replace(")","")
except:
target = searchfilter
return "%s not found" % str(target)