diff --git a/zipline/core/devsimulator.py b/zipline/core/devsimulator.py index cbce4b66..6bc76815 100644 --- a/zipline/core/devsimulator.py +++ b/zipline/core/devsimulator.py @@ -14,6 +14,7 @@ THE DEVSIMULATOR IS DEPRECATED, IT WILL NOT BEHAVE LIKE ANY OTHER SYSTEM USED IN TESTS OR IN PRODUCTION """ + class AddressAllocator(object): """ Produces a iterator of 10000 sockets to allocate as needed. @@ -28,9 +29,10 @@ class AddressAllocator(object): ] def lease(self, n): - sockets = self.sockets[self.idx:self.idx+n] + sockets = self.sockets[self.idx: self.idx + n] self.idx += n return sockets def reaquire(self, *conn): - pass \ No newline at end of file + pass +