summaryrefslogtreecommitdiff
path: root/buildscripts/lint.py
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-04-10 17:34:28 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-04-10 20:11:48 -0400
commitffa171bc887edb1a08c06033f64b05cbe676cd7d (patch)
tree2d0ac51216acb100ddf59ef49023a6c14a99051c /buildscripts/lint.py
parentd405bf323c8ee7ff07c8ad3c28328b26ec3f727c (diff)
downloadmongo-ffa171bc887edb1a08c06033f64b05cbe676cd7d.tar.gz
SERVER-40570 Lint is not running cpplint
Diffstat (limited to 'buildscripts/lint.py')
-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()