Browse Source

Ensure signed waf files can be created using Python3

merge-requests/2343/head waf-2.0.24
Thomas Nagy 3 months ago
parent
commit
c140c3f538
No known key found for this signature in database GPG Key ID: 49B4C67C05277AAA
  1. 6
      wscript

6
wscript

@ -396,9 +396,9 @@ def create_waf(self, *k, **kw):
sig = Utils.readf('waf.asc')
sig = sig.replace('\r', '').replace('\n', '\\n')
f.write('#')
f.write(sig)
f.write('\n')
f.write(to_bytes('#'))
f.write(to_bytes(sig))
f.write(to_bytes('\n'))
os.remove('waf.asc')

Loading…
Cancel
Save