def get(self, key, callback):
        key = b64encode(key)
        
        def process_get(stream, cb, data):
            if data[0:3] == 'END': # key is empty
                cb(None)
            else:
                status, k, flags, content_length = data.strip().split(' ')
                
                def wrapped_cb(f):
                    return lambda data: f(b64decode(data))
                
                stream.read_bytes(int(content_length), wrapped_cb(cb))
                stream.read_until("\r\nEND\r\n", lambda d: d)
        
        self.stream.write(key % "get %s\r\n")
        self.stream.read_until("\r\n", functools.partial(process_get, self.stream, callback))
dataset/ETHPy150Open clofresh/memnado/memnado.py/Memnado.get/swapped operands of `%`