Add patch for waf issue #1171.
parent
0dbeb3e14a
commit
a9015182d2
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/wscript b/wscript
|
||||||
|
index 24aec92..189b26b 100644
|
||||||
|
--- a/wscript
|
||||||
|
+++ b/wscript
|
||||||
|
@@ -141,7 +141,7 @@ def process_tokens(tokens):
|
||||||
|
line_buf = []
|
||||||
|
|
||||||
|
for (type, token, start, end, line) in tokens:
|
||||||
|
- token = token.replace('\r\n', '\n')
|
||||||
|
+ token = token.decode('utf-8').replace('\r\n', '\n')
|
||||||
|
if type == tokenize.NEWLINE:
|
||||||
|
if line_buf:
|
||||||
|
accu.append(indent * '\t')
|
Loading…
Reference in new issue