mirror of https://gitlab.com/ita1024/waf.git
issue #1171, jerome likes accents
This commit is contained in:
parent
a78a146365
commit
8e2230ee50
2
wscript
2
wscript
|
@ -229,7 +229,9 @@ def sfilter(path):
|
||||||
# cnt = 'import sys\nif sys.hexversion < 0x020400f0: from sets import Set as set\n' + cnt
|
# cnt = 'import sys\nif sys.hexversion < 0x020400f0: from sets import Set as set\n' + cnt
|
||||||
cnt = '#! /usr/bin/env python\n# encoding: utf-8\n# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file\n\n' + cnt
|
cnt = '#! /usr/bin/env python\n# encoding: utf-8\n# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file\n\n' + cnt
|
||||||
|
|
||||||
|
if sys.hexversion > 0x030000f0:
|
||||||
return (io.BytesIO(cnt.encode('utf-8')), len(cnt), cnt)
|
return (io.BytesIO(cnt.encode('utf-8')), len(cnt), cnt)
|
||||||
|
return (io.BytesIO(cnt), len(cnt), cnt)
|
||||||
|
|
||||||
def create_waf(*k, **kw):
|
def create_waf(*k, **kw):
|
||||||
mw = 'tmp-waf-'+VERSION
|
mw = 'tmp-waf-'+VERSION
|
||||||
|
|
Loading…
Reference in New Issue