diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-08 20:06:57 -0200 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-08 20:06:57 -0200 |
commit | 6adb35b71a13e4acd82d3c6836ec006f1634f82f (patch) | |
tree | 2d0e26ec5e0fd2b3b8c838032a1ad1ce85a3ca37 /testxml/testxml.py | |
parent | d4a11102f9d2216eca8dbbdf770d0b2fb0b11e93 (diff) | |
parent | d1f7f2b26bf49bedf953aead034aa050a61c20e3 (diff) | |
download | tools-6adb35b71a13e4acd82d3c6836ec006f1634f82f.tar.gz tools-6adb35b71a13e4acd82d3c6836ec006f1634f82f.tar.bz2 tools-6adb35b71a13e4acd82d3c6836ec006f1634f82f.tar.xz tools-6adb35b71a13e4acd82d3c6836ec006f1634f82f.zip |
Merge remote-tracking branch 'evol/master'
Diffstat (limited to 'testxml/testxml.py')
-rwxr-xr-x | testxml/testxml.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py index d62d1f4..c96b8a8 100755 --- a/testxml/testxml.py +++ b/testxml/testxml.py @@ -63,18 +63,24 @@ class Layer: def printErr(err): errDict.add(err) - print err + print err.encode("utf-8") def showFileErrorById(id, rootDir, fileDir): + rootDir = rootDir.encode("utf-8") + fileDir = fileDir.encode("utf-8") print "error: id=" + id + ", file not found: " + fileDir + " (" + rootDir + fileDir + ")" def showFileWarningById(id, rootDir, fileDir): + rootDir = rootDir.encode("utf-8") + fileDir = fileDir.encode("utf-8") print "warn: id=" + id + ", file not found: " + fileDir + " (" + rootDir + fileDir + ")" def showError(id, text): + text = text.encode("utf-8") print "error: id=" + id + " " + text def showWarning(id, text): + text = text.encode("utf-8") print "warn: id=" + id + " " + text def showMsg(id, text, src, iserr): |