Commit 69e98dbe authored by W. Trevor King's avatar W. Trevor King
Browse files

Use integer division in Field.indexes for Python 3 compatibility.

parent 9c9a7bfc
......@@ -193,7 +193,7 @@ class Field (object):
index = []
for j,c in enumerate(reversed(self.count)):
index.insert(0, i % c)
i /= c
i //= c
yield index
def pack_data(self, data=None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment