Commit 8806d73c authored by jeffrey k eliasen's avatar jeffrey k eliasen

implementation

parent 3159321c
......@@ -2667,6 +2667,15 @@ class Distribution(object):
raise AttributeError(attr)
return getattr(self._provider, attr)
def __dir__(self):
return list(
set(super(Distribution, self).__dir__())
| set(
attr for attr in self._provider.__dir__()
if not attr.startswith('_')
)
)
@classmethod
def from_filename(cls, filename, metadata=None, **kw):
return cls.from_location(
......
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