diff options
-rw-r--r-- | pym/portage/xml/metadata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/xml/metadata.py b/pym/portage/xml/metadata.py index 70208f844..ca523e4f1 100644 --- a/pym/portage/xml/metadata.py +++ b/pym/portage/xml/metadata.py @@ -159,7 +159,7 @@ class _Upstream(object): class MetaDataXML(object): """Access metadata.xml""" - def __init__(self, metadata_xml_path, settings=None): + def __init__(self, metadata_xml_path, settings=None, herdstree=None): """Parse a valid metadata.xml file. @type metadata_xml_path: str @@ -180,7 +180,7 @@ class MetaDataXML(object): pass # Used for caching - self._herdstree = None + self._herdstree = herdstree self._descriptions = None self._maintainers = None self._herds = None |