update
This commit is contained in:
1 parent
d1d0cc7b80
commit
a0c7472d50
1 file changed
+3
-3
+3
-3
@@ -66,9 +66,9 @@ def main(args):
|
|||||||
str,
|
str,
|
||||||
sorted(
|
sorted(
|
||||||
compactEntryList,
|
compactEntryList,
|
||||||
key=lambda entry: entry.host[1:]
|
key=lambda entry: (
|
||||||
if entry.host.startswith('[')
|
entry.host[1:] if entry.host.startswith('[') else entry.host
|
||||||
else entry.host,
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user