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,
|
||||
sorted(
|
||||
compactEntryList,
|
||||
key=lambda entry: entry.host[1:]
|
||||
if entry.host.startswith('[')
|
||||
else entry.host,
|
||||
key=lambda entry: (
|
||||
entry.host[1:] if entry.host.startswith('[') else entry.host
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user