Skip to content

Commit

Permalink
remove implicit dependency on integer division
Browse files Browse the repository at this point in the history
  • Loading branch information
skyreflectedinmirrors committed Apr 20, 2017
1 parent defb6cd commit 4d9faf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optionloop/optionloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def __next__(self):
startlen = 1
if self.index < self.end_index:
for key, value in six.iteritems(self.mydict):
value_list[key] = value[(self.index / startlen) % len(value)]
value_list[key] = value[int(self.index / startlen) % len(value)]
startlen *= len(value)

self.index += 1
Expand Down

0 comments on commit 4d9faf1

Please sign in to comment.