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
commitb89bff3a752f5007d0adad4181a9a056c04c3336 (patch)
tree89e4c73f0c6ea9c4296ef859db9785515fad8577 /lib
parentcb2c8bf951c5406e461fa795ce0993f0b4fc24ad (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