fixed cpplint with -p command line parameter

This commit is contained in:
Syl 2014-02-25 22:52:17 +01:00
parent 45507b2cdf
commit 300d0cf0bc
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ class cpplint_wrapper(object):
sys.stderr = cpplint_wrapper.stream
sys.stderr.flush()
def isatty(self):
return True
def write(self, message):
global critical_errors
result = CPPLINT_RE[self.fmt].match(message)