[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex/tests - mhindex.py:1.17
Guido van Rossum
guido@python.org
Tue, 15 Oct 2002 20:38:18 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv20917
Modified Files:
mhindex.py
Log Message:
Convert mtime to int.
=== Zope/lib/python/Products/ZCTextIndex/tests/mhindex.py 1.16 => 1.17 ===
--- Zope/lib/python/Products/ZCTextIndex/tests/mhindex.py:1.16 Wed Jul 10 14:02:09 2002
+++ Zope/lib/python/Products/ZCTextIndex/tests/mhindex.py Tue Oct 15 20:38:16 2002
@@ -544,7 +544,7 @@
st = os.stat(path)
except os.error, msg:
return 0
- return st[ST_MTIME]
+ return int(st[ST_MTIME])
def maycommit(self):
self.trans_count += 1