diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-02 01:20:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-02 01:20:16 +0200 |
commit | 1ad564400649fde0394455df3ef130fb4bdf291a (patch) | |
tree | 8c10bed82753f1ad73b453b47b8ab172bf82daac /src/clint.py | |
parent | 16babc66870b5579f3305fa1289f25e1dc496655 (diff) | |
parent | 6ddaace7ac9f2ed13d7b210d87c715c9f7209c7f (diff) | |
download | rneovim-1ad564400649fde0394455df3ef130fb4bdf291a.tar.gz rneovim-1ad564400649fde0394455df3ef130fb4bdf291a.tar.bz2 rneovim-1ad564400649fde0394455df3ef130fb4bdf291a.zip |
Merge #6409 from ZyX-I/separate-clint
cmake: Add `clint` target to build Makefile
Diffstat (limited to 'src/clint.py')
-rwxr-xr-x | src/clint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clint.py b/src/clint.py index 61c53d128e..5174521fb8 100755 --- a/src/clint.py +++ b/src/clint.py @@ -571,7 +571,8 @@ class _CppLintState(object): for category, count in self.errors_by_category.items(): sys.stderr.write('Category \'%s\' errors found: %d\n' % (category, count)) - sys.stderr.write('Total errors found: %d\n' % self.error_count) + if self.error_count: + sys.stderr.write('Total errors found: %d\n' % self.error_count) def SuppressErrorsFrom(self, fname): """Open file and read a list of suppressed errors from it""" |