diff options
-rw-r--r-- | pym/portage/xml/metadata.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage/xml/metadata.py b/pym/portage/xml/metadata.py index 0515c6929..c357d9966 100644 --- a/pym/portage/xml/metadata.py +++ b/pym/portage/xml/metadata.py @@ -38,6 +38,7 @@ except ImportError: import re import portage from portage import os +from portage.util import unique_everseen class _Maintainer(object): """An object for representing one maintainer. @@ -328,11 +329,15 @@ class MetaDataXML(object): maintainers.append(maintainer.email) for herd, email in self.herds(include_email=True): + if herd == "no-herd": + continue if email is None: maintainers.append(herd) else: maintainers.append(email) + maintainers = list(unique_everseen(maintainers)) + maint_str = "" if maintainers: maint_str = maintainers[0] |