Fix pipelining.

pull/54/merge
Jussi Pakkanen 10 years ago
parent 1ac00031f9
commit f8593a13ce
  1. 4
      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

Loading…
Cancel
Save