2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

Fix detection of build context when a custom context is used

This commit is contained in:
Morten V. Pedersen 2019-12-18 11:24:32 +01:00
parent f5a398452e
commit 23c533566f

View File

@ -123,7 +123,7 @@ def patch_execute():
"""
Invoke clangdb command before build
"""
if type(self) == Build.BuildContext:
if isinstance(self, Build.BuildContext):
Scripting.run_command('clangdb')
old_execute_build(self)