iwla

iwla Commit Details

Date:2014-12-15 22:20:47 (6 years 7 months ago)
Author:Grégory Soutadé
Branch:dev, master
Commit:4d4fcf407522285f6ab3fe9ecb5be80671e60e52
Parents: 4f4e4648438819f3316d7ab4cae9a6589c22f752
Message:Fix a copy/past bug in _compressFile (bad filename)

Changes:
Miwla.py (1 diff)

File differences

iwla.py
447447
448448
449449
450
450
451451
452452
453453
454454
455455
456456
457
458457
459458
460459
gz_path = path + '.gz'
#print 'Compress %s => %s' % (path, gz_path)
if not os.path.exists(gz_path) or\
os.stat(filename).st_mtime > build_time:
os.stat(path).st_mtime > build_time:
with open(path, 'rb') as f_in:
with gzip.open(gz_path, 'wb') as f_out:
f_out.write(f_in.read())
def _compressFiles(self, build_time, root):
if not conf.compress_output_files: return
print root
for rootdir, subdirs, files in os.walk(root, followlinks=True):
for f in files:
for ext in conf.compress_output_files:

Archive Download the corresponding diff file

Branches

Tags