diff options
Diffstat (limited to 'pym/portage.py')
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index 16f105394..a81e423f0 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5980,6 +5980,8 @@ class portdbapi(dbapi): myfiles = [] for x in newuris: mya = os.path.basename(x) + if not mya: + raise portage_exception.InvalidDependString("URI has no basename: '%s'" % x) if not mya in myfiles: myfiles.append(mya) return [newuris, myfiles] |