Skip to content

Commit

Permalink
py3: secrets: remove iteritems usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBasti committed Jun 23, 2017
1 parent 0537ab0 commit b0e5168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipaserver/secrets/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ def connect(self):

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)

0 comments on commit b0e5168

Please sign in to comment.