Browse files

add missing 'return' in MemcacheMultipart.get

  • Loading branch information...
1 parent ccdcec8 commit d4f2e1eb16f52b0a74d7df8115ac6022e298306b @minrk minrk committed Mar 30, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/
@@ -38,6 +38,7 @@ def get(self, key):
result = super(MemcachedMultipart, self).get_many( *to_get)
except Exception as e:
print "memcache get failed", e
+ return None
serialized = ''.join([v for v in result if v is not None])
if not serialized:
return None

0 comments on commit d4f2e1e

Please sign in to comment.