From: Zac Medico Date: Wed, 2 Apr 2008 18:06:42 +0000 (-0000) Subject: Eliminate a redundant os.path.join() call. X-Git-Tag: v2.2_pre6~271 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b00584e75bf1f95617aaac22cf5bc9fed11ee5cd;p=portage.git Eliminate a redundant os.path.join() call. svn path=/main/trunk/; revision=9678 --- 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