we want second resolution on mtime

This commit is contained in:
Benjamin Peterson 2011-06-29 13:55:26 -05:00
parent ae8ee08ac0
commit c7d120ec1c
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def _compute_pyc_location(source_path):
def _use_cached_pyc(source, cache):
try:
mtime = source.mtime()
mtime = int(source.mtime())
fp = cache.open("rb")
try:
data = fp.read(8)