2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 11:51:20 +01:00

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

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)