Permalink
Browse files

Merge pull request #518 from gituliar/_conn_ready-fix

Bugfix: crash with AppEngine on localhost
  • Loading branch information...
2 parents fdbdb52 + 9290803 commit d33fc85c1dc1eee57c9b33c258c2a007600308c7 @mfschwartz mfschwartz committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/connection.py
View
@@ -175,7 +175,7 @@ def _conn_ready(self, conn):
# simply doesn't make sense with App Engine urlfetch service.
return False
else:
- response = conn._HTTPConnection__response
+ response = getattr(conn, '_HTTPConnection__response', None)
return (response is None) or response.isclosed()
def clean(self):

0 comments on commit d33fc85

Please sign in to comment.