summaryrefslogtreecommitdiff
path: root/patchtracker/SourceArchive.py
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2008-06-25 01:00:01 +0200
committerSean Finney <seanius@debian.org>2008-06-25 01:00:01 +0200
commit54a7884a275b7dcf10873651f5b28886db87dd72 (patch)
treebe0ba4f3d608178405a971bca70960b987e857b3 /patchtracker/SourceArchive.py
parent92da2bbd8993b32a57e439582c8c91a7155d16b4 (diff)
downloadpatch-tracker-54a7884a275b7dcf10873651f5b28886db87dd72.tar.gz
frontpage rework and quick/dirty jump form
Diffstat (limited to 'patchtracker/SourceArchive.py')
-rwxr-xr-xpatchtracker/SourceArchive.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/patchtracker/SourceArchive.py b/patchtracker/SourceArchive.py
index 0da9fa4..c15c5f9 100755
--- a/patchtracker/SourceArchive.py
+++ b/patchtracker/SourceArchive.py
@@ -131,8 +131,7 @@ class MasterIndex:
self.pkgcounts[idx] += 1
def indices(self):
- for k,v in sorted(self.pkgcounts.iteritems()):
- yield (k,v)
+ return sorted(self.pkgcounts.iterkeys())
class SourcePackageIndex:
def __init__(self):