From b89bff3a752f5007d0adad4181a9a056c04c3336 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Fri, 17 Jul 2020 14:37:11 +0200 Subject: bugs.py: sort using Release's sort string sort doesn't work here, as buster < jessie < stretch. However Release's sort will dtrt. --- lib/python/bugs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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: -- cgit v1.2.3