diff options
author | Daniel Hahler <github@thequod.de> | 2018-07-08 00:02:27 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-07-08 00:02:27 +0200 |
commit | 378d5f0fa3945712c012accf9cdc3d8a17e2a168 (patch) | |
tree | 21fd9af261a4b38c6956a578ad78882745615ded /src | |
parent | 336ce02a6eeebe14e606014ea873e815922ea344 (diff) | |
download | rneovim-378d5f0fa3945712c012accf9cdc3d8a17e2a168.tar.gz rneovim-378d5f0fa3945712c012accf9cdc3d8a17e2a168.tar.bz2 rneovim-378d5f0fa3945712c012accf9cdc3d8a17e2a168.zip |
clint: use stdout for normal/expected output (#8700)
Diffstat (limited to 'src')
-rwxr-xr-x | src/clint.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/clint.py b/src/clint.py index 79ab91ebe1..c0cedc0e5b 100755 --- a/src/clint.py +++ b/src/clint.py @@ -571,10 +571,10 @@ class _CppLintState(object): def PrintErrorCounts(self): """Print a summary of errors by category, and the total.""" for category, count in self.errors_by_category.items(): - sys.stderr.write('Category \'%s\' errors found: %d\n' % + sys.stdout.write('Category \'%s\' errors found: %d\n' % (category, count)) if self.error_count: - sys.stderr.write('Total errors found: %d\n' % self.error_count) + sys.stdout.write('Total errors found: %d\n' % self.error_count) def SuppressErrorsFrom(self, fname): """Open file and read a list of suppressed errors from it""" @@ -821,13 +821,13 @@ def Error(filename, linenum, category, confidence, message): if _ShouldPrintError(category, confidence, linenum): _cpplint_state.IncrementErrorCount(category) if _cpplint_state.output_format == 'vs7': - sys.stderr.write('%s(%s): %s [%s] [%d]\n' % ( + sys.stdout.write('%s(%s): %s [%s] [%d]\n' % ( filename, linenum, message, category, confidence)) elif _cpplint_state.output_format == 'eclipse': - sys.stderr.write('%s:%s: warning: %s [%s] [%d]\n' % ( + sys.stdout.write('%s:%s: warning: %s [%s] [%d]\n' % ( filename, linenum, message, category, confidence)) else: - sys.stderr.write('%s:%s: %s [%s] [%d]\n' % ( + sys.stdout.write('%s:%s: %s [%s] [%d]\n' % ( filename, linenum, message, category, confidence)) |