summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2020-07-17 16:04:41 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-07-29 10:20:41 +0200
commitc28b352d4bef70f734f809fec8be5c5d60ba856e (patch)
tree78cf4b87ffab62bde4b614ffe8e3837be59c461d /bin
parent1860f823a62c4b68470a5d951bb0204c3ecb2b0b (diff)
tracker_service: properly sort fixed versions table
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tracker_service.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/tracker_service.py b/bin/tracker_service.py
index fd13b62534..88295050a7 100755
--- a/bin/tracker_service.py
+++ b/bin/tracker_service.py
@@ -5,6 +5,7 @@ sys.path.insert(0,'../lib/python')
import bugs
import config
import re
+import debian_support
import security_db
from web_support import *
import json
@@ -486,7 +487,7 @@ data source.""")],
def gen_data():
notes_sorted = bug.notes[:]
- notes_sorted.sort(key=lambda n: n.package)
+ notes_sorted.sort(key=lambda n: (n.package, n.release or debian_support.internRelease('sid')))
for n in notes_sorted:
if n.release:
rel = str(n.release)

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