[Debtags-commits] [SCM] Debian Data Export - A tool to publish Debian information branch, master, updated. c993ee70464ee9fb343ff1100f2e64ce8ecea112

Enrico Zini enrico at enricozini.org
Sun Dec 28 18:13:19 UTC 2008


The following commit has been merged in the master branch:
commit af2c15d542ffb7df0886ae71e71ee0bb6af14cfe
Author: Enrico Zini <enrico at enricozini.org>
Date:   Sun Dec 28 19:10:24 2008 +0100

    Sort completions

diff --git a/plugins/aptdde.py b/plugins/aptdde.py
index 432aba8..5d4d37b 100644
--- a/plugins/aptdde.py
+++ b/plugins/aptdde.py
@@ -111,6 +111,7 @@ class NameCompletion(octofuss.Tree):
         for pkg in self.db:
             if pkg.name.startswith(path[0]):
                 res.append(pkg.name)
+        res.sort()
         return res
 
     def llist(self, path):
@@ -120,6 +121,7 @@ class NameCompletion(octofuss.Tree):
         for pkg in self.db:
             if pkg.name.startswith(path[0]):
                 res.append(pkg.name)
+        res.sort()
         return res
 
 def init(**kw):

-- 
Debian Data Export - A tool to publish Debian information



More information about the Debtags-commits mailing list