projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ecd279
)
Remove the single parent constraint in profiles.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 8 Oct 2006 23:06:57 +0000
(23:06 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 8 Oct 2006 23:06:57 +0000
(23:06 -0000)
svn path=/main/trunk/; revision=4625
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 1a6aa256d6822e1f17bd64cd290481f56dd4882d..bc70d5ec848252cb8f38a4ce12c161d4439963f8 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-969,10
+969,9
@@
class config:
parentsFile = os.path.join(currentPath, "parent")
if os.path.exists(parentsFile):
parents = grabfile(parentsFile)
- if
len(parents) != 1
:
+ if
not parents
:
raise portage_exception.ParseError(
- "Expected 1 parent and got %i: '%s'" % \
- (len(parents), parents_file))
+ "Empty parent file: '%s'" % parents_file)
for parentPath in parents:
parentPath = normalize_path(os.path.join(
currentPath, parentPath))