Parses a response from the ssdb server

def parse_response(self, connection, command_name, **options):
        """
        Parses a response from the ssdb server
        """
        response = connection.read_response()
        if command_name in self.response_callbacks and len(response):
            status = nativestr(response[0])
            if status == RES_STATUS.OK:
                return self.response_callbacks[command_name](response[1:],
                                                             **options)
            elif status == RES_STATUS.NOT_FOUND:
                return None
            else:
                raise DataError(RES_STATUS_MSG[status]+':'.join(response))
                #raise DataError('Not Found')
        return response