mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
py3: secrets: remove iteritems usage
https://pagure.io/freeipa/issue/4985 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
0537ab07ba
commit
b0e5168841
@ -40,6 +40,6 @@ class iSecLdap(object):
|
||||
|
||||
def build_filter(self, formatstr, args):
|
||||
escaped_args = dict()
|
||||
for key, value in args.iteritems():
|
||||
for key, value in args.items():
|
||||
escaped_args[key] = ldap.filter.escape_filter_chars(value)
|
||||
return formatstr.format(**escaped_args)
|
||||
|
Loading…
Reference in New Issue
Block a user