Skip to content
Snippets Groups Projects
Commit e77123cf authored by Bob Lantz's avatar Bob Lantz
Browse files

Remove unnecessary 0

parent 8dea57d2
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ def links( self, sort=False, withKeys=False, withInfo=False ):
return links
# Ignore info when sorting
tupleSize = 3 if withKeys else 2
return sorted( links, key=( lambda l: naturalSeq( l[ 0 : tupleSize ] ) ) )
return sorted( links, key=( lambda l: naturalSeq( l[ :tupleSize ] ) ) )
# This legacy port management mechanism is clunky and will probably
# be removed at some point.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment