summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 18:47:21 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 18:47:21 +0000
commitca0b3c2faedf50d5dba9d6e9ab6264b07debefea (patch)
tree2d2035820c26386520a6395f9daf7042216d4ac3 /tools
parenta1ee67ffb7efbae40801fcaabfccb01f944f57c5 (diff)
downloadchromium_src-ca0b3c2faedf50d5dba9d6e9ab6264b07debefea.zip
chromium_src-ca0b3c2faedf50d5dba9d6e9ab6264b07debefea.tar.gz
chromium_src-ca0b3c2faedf50d5dba9d6e9ab6264b07debefea.tar.bz2
Have grit only try to output errors in ascii (replace chars > 127 with
?). Helps the scons build work. BUG=1350947 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/grit/grit/tool/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/grit/grit/tool/build.py b/tools/grit/grit/tool/build.py
index 48ce747..810c80b 100644
--- a/tools/grit/grit/tool/build.py
+++ b/tools/grit/grit/tool/build.py
@@ -202,7 +202,8 @@ are exported to translation interchange files (e.g. XMB files), etc.
# Print out any fallback warnings, and missing translation errors, and
# exit with an error code if there are missing translations in a non-pseudo
# build
- print self.res.UberClique().MissingTranslationsReport()
+ print (self.res.UberClique().MissingTranslationsReport().
+ encode('ascii', 'replace'))
if self.res.UberClique().HasMissingTranslations():
sys.exit(-1)