diff options
author | Sean Finney <seanius@debian.org> | 2008-06-25 01:00:01 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-06-25 01:00:01 +0200 |
commit | 54a7884a275b7dcf10873651f5b28886db87dd72 (patch) | |
tree | be0ba4f3d608178405a971bca70960b987e857b3 /patchtracker/SourceArchive.py | |
parent | 92da2bbd8993b32a57e439582c8c91a7155d16b4 (diff) | |
download | patch-tracker-54a7884a275b7dcf10873651f5b28886db87dd72.tar.gz |
frontpage rework and quick/dirty jump form
Diffstat (limited to 'patchtracker/SourceArchive.py')
-rwxr-xr-x | patchtracker/SourceArchive.py | 3 |
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): |