From e4ed6864d23cc47e54c35ed8088bfe29d08477c7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 25 Sep 2006 21:57:50 +0000 Subject: [PATCH] Fix a broken call to new_protect_filename for bug #147010. This patch is from trunk r4433. svn path=/main/branches/2.1.1/; revision=4535 --- pym/portage_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage_update.py b/pym/portage_update.py index 671e9bc13..0184f04e3 100644 --- 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() -- 2.26.2