projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a1a7a
)
Raise a ParseError if the profile has a parent file containing a nonexistant parent.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 4 Jun 2006 03:42:40 +0000
(
03:42
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 4 Jun 2006 03:42:40 +0000
(
03:42
-0000)
svn path=/main/trunk/; revision=3455
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index da3394b09f18e8bbc720d31ad2f7ff4da8dc3e4a..deaad848f82e804914e13d6fd1a0af7445815b8e 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-1035,6
+1035,9
@@
class config:
mypath, parents[0]))
if os.path.exists(mypath):
self.profiles.insert(0, mypath)
+ else:
+ raise portage_exception.ParseError(
+ "Specified parent not found: '%s'" % parents_file)
if os.environ.has_key("PORTAGE_CALLER") and os.environ["PORTAGE_CALLER"] == "repoman":
pass