Commit 23c53356 authored by Morten V. Pedersen's avatar Morten V. Pedersen

Fix detection of build context when a custom context is used

parent f5a39845
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment