Commit 41804e62 authored by Antoine Beaupré's avatar Antoine Beaupré

readable view of extractor

parent 75d124d6
......@@ -283,6 +283,12 @@ class PackageMirror(object):
if not os.path.exists(self._dists_dir):
self._dists_dir = self.path
def __str__(self):
p = None
if self._packages is not None:
p = len(self._packages)
return 'PackageMirror with %s packages and releases %s' % (p, self._releases)
@property
def packages(self):
"""return the mirror packages as a set of ``<package, version>`` pairs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment