summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2020-07-17 14:37:11 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-07-29 10:20:41 +0200
commit1860f823a62c4b68470a5d951bb0204c3ecb2b0b (patch)
tree23de30f8bd6ed2545794043ff0af190534b236e4 /lib
parentf5e0decc5553fd9e3458e832eebd691c451974fc (diff)
bugs.py: sort using Release's sort
string sort doesn't work here, as buster < jessie < stretch. However Release's sort will dtrt.
Diffstat (limited to 'lib')
-rw-r--r--lib/python/bugs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/bugs.py b/lib/python/bugs.py
index 1988699954..7b995c2423 100644
--- a/lib/python/bugs.py
+++ b/lib/python/bugs.py
@@ -294,7 +294,7 @@ class Bug(BugBase):
# The release part of a key can be None, so we have to deal
# with that when sorting.
- l.sort(key=lambda n: (n[0], str(n[1] or '')))
+ l.sort(key=lambda n: (n[0], n[1] or debian_support.internRelease('sid')))
nts = []
for key in l:

© 2014-2024 Faster IT GmbH | imprint | privacy policy