diff options
Diffstat (limited to 'layman/overlays/overlay.py')
-rw-r--r-- | layman/overlays/overlay.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py index 9965fdd..0f421d1 100644 --- a/layman/overlays/overlay.py +++ b/layman/overlays/overlay.py @@ -83,8 +83,8 @@ class Overlay(object): u'wrobel' >>> a.is_official() True - >>> a.src - u'https://overlays.gentoo.org/svn/dev/wrobel' + >>> list(a.source_uris()) + [u'https://overlays.gentoo.org/svn/dev/wrobel'] >>> a.owner_email u'nobody@gentoo.org' >>> a.description @@ -392,6 +392,10 @@ class Overlay(object): def is_supported(self): return any(e.is_supported() for e in self.sources) + def source_uris(self): + for i in self.sources: + yield i.src + #================================================================================ # # Testing |