we want second resolution on mtime
This commit is contained in:
parent
ae8ee08ac0
commit
c7d120ec1c
|
@ -147,7 +147,7 @@ def _compute_pyc_location(source_path):
|
||||||
|
|
||||||
def _use_cached_pyc(source, cache):
|
def _use_cached_pyc(source, cache):
|
||||||
try:
|
try:
|
||||||
mtime = source.mtime()
|
mtime = int(source.mtime())
|
||||||
fp = cache.open("rb")
|
fp = cache.open("rb")
|
||||||
try:
|
try:
|
||||||
data = fp.read(8)
|
data = fp.read(8)
|
||||||
|
|
Loading…
Reference in New Issue