From bc8bb299df445118e8e220262900daff02489d67 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Tue, 4 Sep 2012 23:37:54 -0400 Subject: [PATCH] Applies PEP-8 recommendations before editing. --- zipline/core/devsimulator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 +