

def send(self, message):
    if (not self._wait_for_modem()):
        return False
    was_sent = self.modem.send_sms(str(message.connection.identity), message.text)
    if message:
        self.sent_messages += 1
    else:
        self.failed_messages += 1
    return was_sent

dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/backends/gsm.py Backend.send/VarMisuse@51/61 `was_sent`->`message`