From: Zac Medico Date: Mon, 25 Sep 2006 21:57:50 +0000 (-0000) Subject: Fix a broken call to new_protect_filename for bug #147010. This patch is from trunk... X-Git-Tag: v2.1.1-r1~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4ed6864d23cc47e54c35ed8088bfe29d08477c7;p=portage.git 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 --- 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()