summaryrefslogtreecommitdiff
path: root/python2
diff options
context:
space:
mode:
authorJoe Gregorio <jcgregorio@google.com>2013-02-25 10:16:08 -0500
committerJoe Gregorio <jcgregorio@google.com>2013-02-25 10:16:08 -0500
commitc5eeb4ba895fa22d6cf189beec99a0cd40fed2e3 (patch)
tree6f76bcece961ef56a2820351d03f69517cde509e /python2
parentffc3d54f917aa2c07bdb0fcd2e51e217c6dbfbcb (diff)
downloadhttplib2-c5eeb4ba895fa22d6cf189beec99a0cd40fed2e3.tar.gz
Add missing conn.close().
Reviewed in https://codereview.appspot.com/7384055/.
Diffstat (limited to 'python2')
-rw-r--r--python2/httplib2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
index b4f271c..129a980 100644
--- a/python2/httplib2/__init__.py
+++ b/python2/httplib2/__init__.py
@@ -1269,6 +1269,7 @@ and more.
conn.connect()
continue
else:
+ conn.close()
raise
else:
content = ""