[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/ClientStorage.py atimes can be floats. I'm surprized how long it took for this to fail.

Jim Fulton jim at zope.com
Thu Dec 4 17:15:37 EST 2008


Log message for revision 93633:
  atimes can be floats. I'm surprized how long it took for this to fail.
  

Changed:
  U   ZODB/trunk/src/ZEO/ClientStorage.py

-=-
Modified: ZODB/trunk/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/trunk/src/ZEO/ClientStorage.py	2008-12-04 20:27:18 UTC (rev 93632)
+++ ZODB/trunk/src/ZEO/ClientStorage.py	2008-12-04 22:15:37 UTC (rev 93633)
@@ -1641,7 +1641,7 @@
                    continue
                stat = os.stat(file_name)
                size += stat.st_size
-               t = stat.st_atime
+               t = int(stat.st_atime)
                if t not in files_by_atime:
                    files_by_atime[t] = []
                files_by_atime[t].append(file_name)



More information about the Zodb-checkins mailing list