projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4069541
)
Make doebuild_environment raise an exception so that we never have to check the retur...
author
Zac Medico
<zmedico@gentoo.org>
Sat, 23 Sep 2006 10:47:11 +0000
(10:47 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 23 Sep 2006 10:47:11 +0000
(10:47 -0000)
svn path=/main/trunk/; revision=4516
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index b8bfa118e6e419021ba9b56e2b562b12a464182c..4d07a3bc6f2a065f599d5996d2ad9d1aeae203eb 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2530,9
+2530,8
@@
def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
mycpv = cat+"/"+mypv
mysplit=pkgsplit(mypv,silent=0)
if mysplit is None:
- writemsg("!!! Error: PF is null '%s'; exiting.\n" % mypv,
- noiselevel=-1)
- return 1
+ raise portage_exception.IncorrectParameter(
+ "Invalid ebuild path: '%s'" % myebuild)
if mydo != "depend":
# XXX: We're doing a little hack here to curtain the gvisible locking