commit | 9d74702262fbef35ef87c7daed3141dcc4ff8ff3 | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Mon Jun 06 17:07:44 2011 -0400 |
committer | Joe Gregorio <jcgregorio@google.com> | Mon Jun 06 17:07:44 2011 -0400 |
tree | 5b31d01d6a359ea7ff99bb5b22e36877e30965d5 | |
parent | 575ee539088c77f93f46cf16080762837f13e1fd [diff] |
Fixes issue 133.
diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py index d9f38d9..f3801b7 100644 --- a/python2/httplib2/__init__.py +++ b/python2/httplib2/__init__.py
@@ -932,7 +932,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