Skip to content

Commit

Permalink
Fixing issue mcfletch#2 related to usage of six.moves.range
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikacharya committed Jun 19, 2020
1 parent 8624fe6 commit e69bfef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runsnakerun/listviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def CreateColumns(self):
"""Create/recreate our column definitions from current self.columns"""
self.SetItemCount(0)
# clear any current columns...
for i in range(self.GetColumnCount())[::-1]:
for i in range(self.GetColumnCount()-1, -1, -1):
self.DeleteColumn(i)
# now create
for i, column in enumerate(self.columns):
Expand Down

0 comments on commit e69bfef

Please sign in to comment.