summaryrefslogtreecommitdiff
path: root/pymemcache/client/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pymemcache/client/base.py')
-rw-r--r--pymemcache/client/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pymemcache/client/base.py b/pymemcache/client/base.py
index 438ffe7..2fde2fa 100644
--- a/pymemcache/client/base.py
+++ b/pymemcache/client/base.py
@@ -1287,7 +1287,7 @@ class PooledClient(object):
return client.get(key, default)
except Exception:
if self.ignore_exc:
- return None
+ return default
else:
raise