projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d395f23
)
For bug #149397, raise an InvalidDependString exception if a USE has no basename...
author
Zac Medico
<zmedico@gentoo.org>
Mon, 30 Jul 2007 02:52:34 +0000
(
02:52
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 30 Jul 2007 02:52:34 +0000
(
02:52
-0000)
svn path=/main/branches/2.1.2.9/; revision=7438
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 16f105394c8dc40848485509624a8ff433821287..a81e423f0c5d19f3ae4e58a1cfb1b4cb926937ad 100644
(file)
--- 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]