Permalink
Browse files

Fixed a bug in server response check in set_multi

  • Loading branch information...
1 parent ab1d47b commit 254f102f18e1da7368445be36406e3fb22f8e553 @eguven committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 memcache.py
View
@@ -619,7 +619,7 @@ def set_multi(self, mapping, time=0, key_prefix='', min_compress_len=0):
try:
for key in keys:
line = server.readline()
- if line == 'STORED':
+ if line == b'STORED':
continue
else:
notstored.append(prefixed_to_orig_key[key]) #un-mangle.

0 comments on commit 254f102

Please sign in to comment.