BUG: Let logbook figure out how to bind the context manager.

This commit is contained in:
Jean Bredeche
2015-08-06 13:52:58 -04:00
parent e0bd25cb18
commit ff87fd32e3
+1 -1
View File
@@ -87,7 +87,7 @@ class AlgorithmSimulator(object):
# snapshot time to any log record generated.
with ExitStack() as stack:
stack.enter_context(self.processor.threadbound())
stack.enter_context(self.processor)
stack.enter_context(ZiplineAPI(self.algo))
data_frequency = self.sim_params.data_frequency