Move log_fail() out of sub-method.

pull/3004/head
Benjamin Redelings 7 years ago
parent 20c1cb7d02
commit 7749497923
  1. 2
      mesonbuild/dependencies/misc.py

@ -151,6 +151,7 @@ class BoostDependency(ExternalDependency):
return
if self.check_invalid_modules():
self.log_fail()
return
mlog.debug('Boost library root dir is', mlog.bold(self.boost_root))
@ -187,7 +188,6 @@ class BoostDependency(ExternalDependency):
if invalid_modules:
mlog.log(mlog.red('ERROR:'), 'Invalid Boost modules: ' + ', '.join(invalid_modules))
self.log_fail()
return True
else:
return False

Loading…
Cancel
Save