def scan(self, message):

        if isinstance(message, Envelope):
            header_data, message_data = message.flatten()
        else:
            header_data = b''
            message_data = message
        socket = None
        try:
            socket = self._socket_creator(self.address)
            log.connect(socket, self.address)
            self._send_request(socket, header_data, message_data)
            return self._recv_response(socket)
        finally:
            if socket:
                log.close(socket)
                socket.close()
Clear groupby settings (for multi-queries).
dataset/ETHPy150Open slimta/python-slimta/slimta/policy/spamassassin.py/SpamAssassin.scan--crossover with--dataset/ETHPy150Open dcramer/django-sphinx/djangosphinx/apis/api275/__init__.py/SphinxClient.ResetGroupBy