aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-03-13 19:59:12 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-03-13 19:59:12 +0200
commitf8593a13ce80de1257bbd2dfcc3c0685782ed457 (patch)
tree559074cdbf590093582ed6fe1857067b78c93886 /interpreter.py
parent1ac00031f9c16e197b8fcab3dafc07d63c9bdb67 (diff)
downloadmeson-f8593a13ce80de1257bbd2dfcc3c0685782ed457.zip
meson-f8593a13ce80de1257bbd2dfcc3c0685782ed457.tar.gz
meson-f8593a13ce80de1257bbd2dfcc3c0685782ed457.tar.bz2
Fix pipelining.
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/interpreter.py b/interpreter.py
index bda466d..dfb42e6 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -248,8 +248,8 @@ class GeneratorHolder(InterpreterObject):
class GeneratedListHolder(InterpreterObject):
def __init__(self, arg1):
super().__init__()
- if isinstance(arg1, build.Generator):
- self.held_object = build.GeneratedList(arg1)
+ if isinstance(arg1, GeneratorHolder):
+ self.held_object = build.GeneratedList(arg1.held_object)
else:
self.held_object = arg1