From b00584e75bf1f95617aaac22cf5bc9fed11ee5cd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 2 Apr 2008 18:06:42 +0000 Subject: [PATCH] Eliminate a redundant os.path.join() call. svn path=/main/trunk/; revision=9678 --- pym/portage/util.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.26.2