From 84f62083c55965859a094a95127140acc1cbf68d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Jan 2011 02:20:46 -0800 Subject: [PATCH] MetaDataXML: fix broken upstream initialization --- pym/portage/xml/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) -- 2.26.2