Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Convert mtime to int.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Oct 16, 2002
1 parent 4fb0939 commit a276db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mhindex.py
Expand Up @@ -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
Expand Down

0 comments on commit a276db3

Please sign in to comment.