diff --git a/baph/core/cache/backends/memcached.py b/baph/core/cache/backends/memcached.py index b1b76ed..109a76d 100644 --- a/baph/core/cache/backends/memcached.py +++ b/baph/core/cache/backends/memcached.py @@ -97,6 +97,7 @@ def send_command(self, cmd, row_len=0, expect=None): while line: # readline splits on '\r\n', we still need to split on '\n' item, sep, line = line.partition('\n') + item = item.strip() if item == 'END': return lines else: