summaryrefslogtreecommitdiff
path: root/patchtracker/SourceArchive.py
diff options
context:
space:
mode:
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):