mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Ensure signed waf files can be created using Python3
This commit is contained in:
parent
2a1eeba691
commit
7b912a0439
6
wscript
6
wscript
@ -396,9 +396,9 @@ def create_waf(self, *k, **kw):
|
|||||||
|
|
||||||
sig = Utils.readf('waf.asc')
|
sig = Utils.readf('waf.asc')
|
||||||
sig = sig.replace('\r', '').replace('\n', '\\n')
|
sig = sig.replace('\r', '').replace('\n', '\\n')
|
||||||
f.write('#')
|
f.write(to_bytes('#'))
|
||||||
f.write(sig)
|
f.write(to_bytes(sig))
|
||||||
f.write('\n')
|
f.write(to_bytes('\n'))
|
||||||
os.remove('waf.asc')
|
os.remove('waf.asc')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user