#56 Negative indexing in MultiColumnList.InsertItems

open
nobody
None
5
2006-07-12
2006-07-12
Anonymous
No

A typo in multicolumnlist.py prevents
MultiColumnList.InsertItems from disallowing improper
negative indexing:

# Allow negative indexing to mean from the end of the list
if position < 0:
position = numitems + position
# But only allow from the start of the list on
if position < 0:
postiion = 0 <-- *** typo ***

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks