projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8faf55a
)
_unmerge_pkgfiles: fix localunbound error
author
Fabian Groffen
<grobian@gentoo.org>
Tue, 30 Nov 2010 19:34:56 +0000
(20:34 +0100)
committer
Fabian Groffen
<grobian@gentoo.org>
Tue, 30 Nov 2010 19:34:56 +0000
(20:34 +0100)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 3837f397323107de6170a016e4e426a63a2f9d22..c57b2c7101cc532ab6a4c0b4a68876f7d847c310 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-1861,13
+1861,14
@@
class dblink(object):
os = portage.os
perf_md5 = portage.checksum.perform_md5
+ file_data = pkgfiles[objkey]
+ file_type = file_data[0]
+
# don't try to unmerge the prefix offset itself
if len(obj) <= len(EPREFIX) or not obj.startswith(EPREFIX):
show_unmerge("---", unmerge_desc["!prefix"], file_type, obj)
continue
- file_data = pkgfiles[objkey]
- file_type = file_data[0]
statobj = None
try:
statobj = os.stat(obj)