mirror of https://gitlab.com/ita1024/waf.git
fixed cpplint with -p command line parameter
This commit is contained in:
parent
45507b2cdf
commit
300d0cf0bc
|
@ -154,6 +154,9 @@ class cpplint_wrapper(object):
|
||||||
sys.stderr = cpplint_wrapper.stream
|
sys.stderr = cpplint_wrapper.stream
|
||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
|
|
||||||
|
def isatty(self):
|
||||||
|
return True
|
||||||
|
|
||||||
def write(self, message):
|
def write(self, message):
|
||||||
global critical_errors
|
global critical_errors
|
||||||
result = CPPLINT_RE[self.fmt].match(message)
|
result = CPPLINT_RE[self.fmt].match(message)
|
||||||
|
|
Loading…
Reference in New Issue