summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/util.py b/pym/portage/util.py
index fae0d63fc..87332f42e 100644
--- a/pym/portage/util.py
+++ b/pym/portage/util.py
@@ -1073,8 +1073,7 @@ def new_protect_filename(mydest, newmd5=None):
if last_pfile and newmd5:
import portage.checksum
try:
- last_pfile_md5 = portage.checksum.perform_md5(
- os.path.join(real_dirname, last_pfile))
+ last_pfile_md5 = portage.checksum.perform_md5(old_pfile)
except FileNotFound:
# The file suddenly disappeared or it's a broken symlink.
pass