Previous patch needs >= to works properly, not juste > (for build time comparison)

This commit is contained in:
Grégory Soutadé 2016-08-29 08:58:16 +02:00
parent a76d8e8b69
commit 935a18561b

View File

@ -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())