Pull request 1618 - cpplint

This commit is contained in:
Thomas Nagy 2015-09-01 19:40:26 +02:00
parent 36e07b3eaf
commit 143ccb7a74
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 2 additions and 2 deletions

View File

@ -98,9 +98,9 @@ def options(opt):
def configure(conf):
conf.start_msg('Checking cpplint')
try:
import cpplint
_cpplint_state
conf.end_msg('ok')
except ImportError:
except NameError:
conf.env.CPPLINT_SKIP = True
conf.end_msg('not found, skipping it.')