diff options
Diffstat (limited to 'pym/portage/manifest.py')
-rw-r--r-- | pym/portage/manifest.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py index ac08e5fb1..93182f764 100644 --- a/pym/portage/manifest.py +++ b/pym/portage/manifest.py @@ -453,9 +453,12 @@ class Manifest(object): ps = portage.versions.pkgsplit(pf) cpv = "%s/%s" % (cat, pf) if not ps: - raise PortagePackageException(cpv) + raise PortagePackageException( + "Invalid package name: '%s'" % cpv) if ps[0] != pn: - raise PortagePackageException(cpv) + raise PortagePackageException( + "Package name does not " + \ + "match directory name: '%s'" % cpv) cpvlist.append(cpv) elif manifest2MiscfileFilter(f): mytype = "MISC" |