summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/lint.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/buildscripts/lint.py b/buildscripts/lint.py
index ece3a08841b..707ffdfe06e 100644
--- a/buildscripts/lint.py
+++ b/buildscripts/lint.py
@@ -103,10 +103,6 @@ def run_lint(paths, nudge_on=False): # pylint: disable=too-many-statements
# pylint: disable=protected-access
cpplint._IsTestFilename = _our_is_test_filename
- # Change stderr to write with replacement characters so we don't die
- # if we try to print something containing non-ASCII characters.
- sys.stderr = codecs.StreamReaderWriter(sys.stderr, codecs.getreader('utf8'),
- codecs.getwriter('utf8'), 'replace')
cpplint._cpplint_state.ResetErrorCounts()
for filename in filenames:
config_h_check_obj = CheckForConfigH()