summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-02 18:06:42 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-02 18:06:42 +0000
commitb00584e75bf1f95617aaac22cf5bc9fed11ee5cd (patch)
tree313bba6758c5e4af4651ce9db04a3108b5e4efaa
parent1fec9aa092ace6272d3b7bae934ecdf25df7f6e9 (diff)
downloadportage-b00584e75bf1f95617aaac22cf5bc9fed11ee5cd.tar.gz
portage-b00584e75bf1f95617aaac22cf5bc9fed11ee5cd.tar.bz2
portage-b00584e75bf1f95617aaac22cf5bc9fed11ee5cd.zip
Eliminate a redundant os.path.join() call.
svn path=/main/trunk/; revision=9678
-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