summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-29 21:31:26 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-09 02:21:59 (GMT)
commit04f7870635dff90ddc1b8465b5b8304c2d429a92 (patch)
tree77aaaaee065b83f624164bc84183b0be9cef21f8 /tools
parent2df3a01974a06145cc20c53d5f1309ccdb2b6946 (diff)
downloadu-boot-fsl-qoriq-04f7870635dff90ddc1b8465b5b8304c2d429a92.tar.xz
patman: Don't report unicode character
Unicode characters may appear in input patches so we should not warn about them. Drop this warning. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/patchstream.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py
index cd4667f..324c654 100644
--- a/tools/patman/patchstream.py
+++ b/tools/patman/patchstream.py
@@ -308,15 +308,6 @@ class PatchStream:
# Well that means this is an ordinary line
else:
- pos = 1
- # Look for ugly ASCII characters
- for ch in line:
- # TODO: Would be nicer to report source filename and line
- if ord(ch) > 0x80:
- self.warn.append("Line %d/%d ('%s') has funny ascii char" %
- (self.linenum, pos, line))
- pos += 1
-
# Look for space before tab
m = re_space_before_tab.match(line)
if m: