summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem de Groot <willem@byte.nl>2014-08-22 18:01:31 +0200
committerWillem de Groot <willem@byte.nl>2014-08-22 18:01:31 +0200
commitb071485a3caaddf10cfa314e83223c1e70fea7f4 (patch)
treeb0f25be37659cb5c3ba90634531d489623883ea1
parentb347a9c516f1b7c1d65c376ce255eca274b88999 (diff)
downloadrequests-cache-b071485a3caaddf10cfa314e83223c1e70fea7f4.tar.gz
Add required _Store.release_conn() method
-rw-r--r--requests_cache/backends/base.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/requests_cache/backends/base.py b/requests_cache/backends/base.py
index bc13518..2843ea8 100644
--- a/requests_cache/backends/base.py
+++ b/requests_cache/backends/base.py
@@ -162,10 +162,11 @@ class BaseCache(object):
# used for saving response attributes
class _Store(object):
- pass
+ def release_conn(self):
+ pass
def _to_bytes(s, encoding='utf-8'):
if is_py2 or isinstance(s, bytes):
return s
- return bytes(s, encoding) \ No newline at end of file
+ return bytes(s, encoding)