aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py
index 9e494f0..70ce271 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -1526,7 +1526,7 @@ class Interpreter():
i = i.held_object
except AttributeError:
pass
- if not isinstance(i, (str, build.BuildTarget)):
+ if not isinstance(i, (str, build.BuildTarget, build.CustomTarget)):
mlog.debug('Wrong type:', str(i))
raise InterpreterException('Invalid argument to run_target.')
cleaned_args.append(i)