[svn r75] Ran reindent.py over eventlet, it caught some places where the indentation was incorrect. Also change tpool_test to complete in finite time.

This commit is contained in:
which.linden
2008-01-09 19:10:39 -05:00
parent 88fb5ecc12
commit e82ea35461
5 changed files with 14 additions and 14 deletions

View File

@@ -39,14 +39,14 @@ class yadda(object):
def sender_loop(pfx):
n = 0
obj = tpool.Proxy(yadda())
while True:
while n < 10:
api.sleep(0)
now = time.time()
print "%s: send (%s,%s)" % (pfx,now,n)
rv = obj.foo(now,n=n)
print "%s: recv %s" % (pfx, rv)
assert(n == rv)
api.sleep(0.5)
api.sleep(0)
n += 1
def test1():