Skip to content

Commit

Permalink
Correct iteritems syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 committed Jul 14, 2020
1 parent 4aa617d commit 730934c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gssapi/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def enc(x):
else:
return x

return dict((enc(k), enc(v)) for k, v in d.iteritems())
return dict((enc(k), enc(v)) for k, v in iter(d.items()))


# in case of Python 3, just use exception chaining
Expand Down

0 comments on commit 730934c

Please sign in to comment.