Created
December 22, 2009 07:33
-
-
Save mackstann/261587 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gen = self._conn_request(request_uri, method, body, headers) | |
for iter in gen: | |
try: | |
yield | |
except Exception, e: | |
gen.throw(e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment