Skip to content

Commit

Permalink
Address Series.items not existing on Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mivade committed Sep 25, 2017
1 parent 732e573 commit 4671c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bptools/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ def from_series(cls, s):
"""
kwargs = {
attr: value
for attr, value in s.items()
for attr, value in s.iteritems()
}
return cls(**kwargs)

0 comments on commit 4671c93

Please sign in to comment.