trungn1992 / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

PATCH: Also treat unicode strings as cache paths #133

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
diff -r cf7232378fe3 python2/httplib2/__init__.py
--- a/python2/httplib2/__init__.py      Mon Feb 14 23:30:21 2011 -0500
+++ b/python2/httplib2/__init__.py      Thu Feb 24 14:28:36 2011 -0800
@@ -846,7 +846,7 @@
         self.connections = {}
         # The location of the cache, for now a directory
         # where cached responses are held.
-        if cache and isinstance(cache, str):
+        if cache and isinstance(cache, basestring):
             self.cache = FileCache(cache)
         else:
             self.cache = cache

Original issue reported on code.google.com by yanghate...@gmail.com on 24 Feb 2011 at 10:29

GoogleCodeExporter commented 8 years ago
Issue 136 has been merged into this issue.

Original comment by joe.gregorio@gmail.com on 6 Jun 2011 at 8:59

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 2d0d2e5497c4.

Original comment by joe.gregorio@gmail.com on 6 Jun 2011 at 9:08