fix for issue 398, added extensions_for in RepoPath

This commit is contained in:
Gregory L. Lee 2016-01-26 09:52:01 -08:00
parent 1a52700238
commit 7891346a4f

View File

@ -233,6 +233,11 @@ def providers_for(self, vpkg_spec):
return providers
@_autospec
def extensions_for(self, extendee_spec):
return [p for p in self.all_packages() if p.extends(extendee_spec)]
def find_module(self, fullname, path=None):
"""Implements precedence for overlaid namespaces.