projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fec9aa
)
Eliminate a redundant os.path.join() call.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 2 Apr 2008 18:06:42 +0000
(18:06 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 2 Apr 2008 18:06:42 +0000
(18:06 -0000)
svn path=/main/trunk/; revision=9678
pym/portage/util.py
patch
|
blob
|
history
diff --git
a/pym/portage/util.py
b/pym/portage/util.py
index fae0d63fc210a7883f1e5219944bfd8000430def..87332f42e821acd22c6ba9f2b339b60a05140d63 100644
(file)
--- 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