$OpenBSD: patch-ioflo_aio_http_clienting_py,v 1.1 2017/09/14 14:04:05 ajacoutot Exp $

SyntaxError: 'return' with argument inside generator

Index: ioflo/aio/http/clienting.py
--- ioflo/aio/http/clienting.py.orig
+++ ioflo/aio/http/clienting.py
@@ -1188,4 +1188,5 @@ class Patron(object):
                                   " '{1}'\n".format(self.connector.name, ex))
                     raise ex
                 yield b''  # this is eventually yielded by wsgi app while waiting
-            return self.respond()
+            yield self.respond()
+            return
