Merge pull request #671 from quantopian/no-more-threadbound

BUG: Let logbook figure out how to bind the context manager.
This commit is contained in:
Jean Bredeche
2015-08-06 14:58:06 -04:00
+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