mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-08-01 20:21:33 +00:00
Merge pull request #184 from LukeCz/stdout
Cpplint is unnecessarily polluting stderr
This commit is contained in:
Vendored
+2
-2
@@ -936,7 +936,7 @@ class _CppLintState(object):
|
||||
for category, count in self.errors_by_category.iteritems():
|
||||
sys.stderr.write('Category \'%s\' errors found: %d\n' %
|
||||
(category, count))
|
||||
sys.stderr.write('Total errors found: %d\n' % self.error_count)
|
||||
sys.stdout.write('Total errors found: %d\n' % self.error_count)
|
||||
|
||||
_cpplint_state = _CppLintState()
|
||||
|
||||
@@ -6033,7 +6033,7 @@ def ProcessFile(filename, vlevel, extra_check_functions=[]):
|
||||
Error(filename, linenum, 'whitespace/newline', 1,
|
||||
'Unexpected \\r (^M) found; better to use only \\n')
|
||||
|
||||
sys.stderr.write('Done processing %s\n' % filename)
|
||||
sys.stdout.write('Done processing %s\n' % filename)
|
||||
_RestoreFilters()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user