From c17dab35a25465942133986832ca8790c5f6f29c Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Mon, 28 May 2012 10:45:06 -0400 Subject: [PATCH] Devsimulator under new class hierarchy. --- zipline/core/devsimulator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zipline/core/devsimulator.py b/zipline/core/devsimulator.py index b1aee965..85ddc44e 100644 --- a/zipline/core/devsimulator.py +++ b/zipline/core/devsimulator.py @@ -4,7 +4,7 @@ See :py:method"" """ import threading -from zipline.core import ComponentHost +from zipline.core.simulatorref import SimulatorBase class AddressAllocator(object): """ @@ -28,13 +28,13 @@ class AddressAllocator(object): pass -class Simulator(ComponentHost): +class Simulator(SimulatorBase): zmq_flavor = 'thread' def __init__(self, addresses): # TODO: rethink this - ComponentHost.__init__(self, addresses) + SimulatorBase.__init__(self, addresses) self.subthreads = [] self.running = False