From 8cbc9ceaf541042727f7931fc617746cbf2bc1d5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Sep 2006 20:24:06 +0000 Subject: For compatibility with float timestamps in python-2.5, convert st_mtime attributes to long wherever portage expects 1s resolution. svn path=/main/trunk/; revision=4500 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage.py') diff --git a/pym/portage.py b/pym/portage.py index 104f1a279..b8f984f5c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6706,7 +6706,7 @@ def global_updates(mysettings, trees, prev_mtimes): if len(errors) == 0: # Update our internal mtime since we # processed all of our directives. - timestamps[mykey] = mystat.st_mtime + timestamps[mykey] = long(mystat.st_mtime) else: for msg in errors: writemsg("%s\n" % msg, noiselevel=-1) -- cgit v1.2.3-1-g7c22