diff options
-rw-r--r-- | pym/portage/xml/metadata.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/xml/metadata.py b/pym/portage/xml/metadata.py index ade2cff81..ef335e29f 100644 --- a/pym/portage/xml/metadata.py +++ b/pym/portage/xml/metadata.py @@ -63,8 +63,7 @@ class _Maintainer(object): self.description = None self.restrict = node.get('restrict') self.status = node.get('status') - maint_attrs = node.getchildren() - for attr in maint_attrs: + for attr in node: setattr(self, attr.tag, attr.text) def __repr__(self): |