projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b24a2
)
fix backtrace on unmerge by preventing to unmerge the prefix offset path itself,...
author
Fabian Groffen
<grobian@gentoo.org>
Sat, 6 Dec 2008 20:54:55 +0000
(20:54 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Sat, 6 Dec 2008 20:54:55 +0000
(20:54 -0000)
svn path=/main/branches/prefix/; revision=12171
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index d67ad5c931cd7d55e19f4c4e5d035fb3027eb0c8..715e4a75dfb266e23ed96c88cbe356e0b0fdeeba 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-2895,6
+2895,9
@@
class dblink(object):
mydirs.reverse()
for obj in mydirs:
+ # don't try to unmerge the prefix offset itself
+ if len(obj) <= len(EPREFIX):
+ continue
try:
if bsd_chflags:
lstatobj = os.lstat(obj)