Fix a broken call to new_protect_filename for bug #147010. This patch is from trunk...
authorZac Medico <zmedico@gentoo.org>
Mon, 25 Sep 2006 21:57:50 +0000 (21:57 -0000)
committerZac 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

index 671e9bc139867b87f9a389dc8a7bc580ca35ac05..0184f04e3659cd0a0888a9ca1efb754b186d9f51 100644 (file)
@@ -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()