projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df58f2e
)
Fix a broken call to new_protect_filename for bug #147010. This patch is from trunk...
author
Zac Medico
<zmedico@gentoo.org>
Mon, 25 Sep 2006 21:57:50 +0000
(21:57 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 25 Sep 2006 21:57:50 +0000
(21:57 -0000)
svn path=/main/branches/2.1.1/; revision=4535
pym/portage_update.py
patch
|
blob
|
history
diff --git
a/pym/portage_update.py
b/pym/portage_update.py
index 671e9bc139867b87f9a389dc8a7bc580ca35ac05..0184f04e3659cd0a0888a9ca1efb754b186d9f51 100644
(file)
--- a/
pym/portage_update.py
+++ b/
pym/portage_update.py
@@
-80,7
+80,7
@@
def grab_updates(updpath, prev_mtimes=None):
file_path = os.path.join(updpath, myfile)
mystat = os.stat(file_path)
if file_path not in prev_mtimes or \
-
long(prev_mtimes[file_path]) != long(mystat.st_mtime)
:
+
prev_mtimes[file_path] != mystat.st_mtime
:
f = open(file_path)
content = f.read()
f.close()