mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-12 09:11:55 -06:00
Actually replace trailing ) characters with ''
This commit is contained in:
parent
46bd3974af
commit
cfdd272166
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user