diff --git a/tests/mhindex.py b/tests/mhindex.py index 712b6ad..4be25ee 100644 --- a/tests/mhindex.py +++ b/tests/mhindex.py @@ -544,7 +544,7 @@ def getmtime(self, path): 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