summaryrefslogtreecommitdiff
path: root/memcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'memcache.py')
-rw-r--r--memcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcache.py b/memcache.py
index 9bc6168..074a340 100644
--- a/memcache.py
+++ b/memcache.py
@@ -1193,7 +1193,7 @@ class Client(threading.local):
)
if not valid_key_chars_re.match(key):
raise Client.MemcachedKeyCharacterError(
- "Control characters not allowed")
+ "Control/space characters not allowed (key=%r)" % key)
class _Host(object):