The async.send method wasn't really doing anything useful. It was just calling the...
authorBen <mastahyeti@gmail.com>
Tue, 17 Jan 2012 21:21:09 +0000 (15:21 -0600)
committerBen <mastahyeti@gmail.com>
Tue, 17 Jan 2012 21:21:09 +0000 (15:21 -0600)
requests/async.py

index 53aa841..fafcb9e 100644 (file)
@@ -52,7 +52,6 @@ def send(r, pool=None):
     and can hence limit concurrency."""
 
     if pool != None:
-
         return pool.spawn(r.send)
 
     return gevent.spawn(r.send)