Skip to content

Commit 01be90f

Browse files
committed
use self.items instead of iteritems, to fix error
1 parent bca275f commit 01be90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/base/frozendict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __repr__(self):
5252

5353
def __hash__(self):
5454
if self.__hash is None:
55-
self.__hash = reduce(operator.xor, map(hash, self.iteritems()), 0)
55+
self.__hash = reduce(operator.xor, map(hash, self.items()), 0)
5656

5757
return self.__hash
5858

0 commit comments

Comments
 (0)