Previous patch needs >= to works properly, not juste > (for build time comparison)
This commit is contained in:
parent
a76d8e8b69
commit
935a18561b
2
iwla.py
2
iwla.py
|
@ -548,7 +548,7 @@ class IWLA(object):
|
|||
self.logger.debug('Compress %s => %s' % (path, gz_path))
|
||||
|
||||
if not os.path.exists(gz_path) or\
|
||||
os.stat(path).st_mtime > build_time:
|
||||
os.stat(path).st_mtime >= build_time:
|
||||
with open(path, 'rb') as f_in, gzip.open(gz_path, 'wb') as f_out:
|
||||
f_out.write(f_in.read())
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user