Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
Iteritems not supported in Python 3, replace with items
Browse files Browse the repository at this point in the history
  • Loading branch information
avidas committed Jan 7, 2014
1 parent 0c8cdd0 commit 2e68ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paypalrestsdk/resource.py
Expand Up @@ -56,7 +56,7 @@ def success(self):

# Merge new attributes
def merge(self, new_attributes):
for k,v in new_attributes.iteritems():
for k,v in new_attributes.items():
setattr(self, k, v)

# Convert the attribute values to configured class.
Expand Down

0 comments on commit 2e68ea7

Please sign in to comment.