Applies PEP-8 recommendations before editing.

This commit is contained in:
Eddie Hebert
2012-09-04 23:37:54 -04:00
parent 4d5457a363
commit bc8bb299df
+4 -2
View File
@@ -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
pass