From: Zac Medico Date: Sun, 25 May 2008 04:06:00 +0000 (-0000) Subject: Bug #223417 - use floating point mtime for finer grained validation in X-Git-Tag: v2.1.5.3~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=437e8e808ceed3a23fa1a83b9d60f9e8edbb749e;p=portage.git Bug #223417 - use floating point mtime for finer grained validation in cachedir(). (trunk r10389) svn path=/main/branches/2.1.2/; revision=10405 --- diff --git a/pym/portage.py b/pym/portage.py index 496539304..85b9bf670 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -204,7 +204,7 @@ def cacheddir(my_original_path, ignorecvs, ignorelist, EmptyOnError, followSymli try: pathstat = os.stat(mypath) if stat.S_ISDIR(pathstat[stat.ST_MODE]): - mtime = pathstat[stat.ST_MTIME] + mtime = pathstat.st_mtime else: raise portage_exception.DirectoryNotFound(mypath) except EnvironmentError, e: