Remove unnecessary 0
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ class Topo( object ):
|
|||||||
return links
|
return links
|
||||||
# Ignore info when sorting
|
# Ignore info when sorting
|
||||||
tupleSize = 3 if withKeys else 2
|
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
|
# This legacy port management mechanism is clunky and will probably
|
||||||
# be removed at some point.
|
# be removed at some point.
|
||||||
|
|||||||
Reference in New Issue
Block a user