From: Zac Medico Date: Sun, 2 Jan 2011 10:20:46 +0000 (-0800) Subject: MetaDataXML: fix broken upstream initialization X-Git-Tag: v2.2.0_alpha12~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b1376e22b07926d29ef186229dad2ff78d8f488;p=portage.git MetaDataXML: fix broken upstream initialization --- diff --git a/pym/portage/xml/metadata.py b/pym/portage/xml/metadata.py index 326a468b3..21e9a5d6b 100644 --- a/pym/portage/xml/metadata.py +++ b/pym/portage/xml/metadata.py @@ -306,7 +306,7 @@ class MetaDataXML(object): if self._upstream is None: if self._xml_tree is None: - self._useflags = tuple() + self._upstream = tuple() else: self._upstream = tuple(_Upstream(node) \ for node in self._xml_tree.findall('upstream'))