equal
deleted
inserted
replaced
104 if tel.land == '49': |
104 if tel.land == '49': |
105 route=unicode("basic") |
105 route=unicode("basic") |
106 else: |
106 else: |
107 route=unicode("economy") |
107 route=unicode("economy") |
108 smsSendStatus = self.__send(route, to, message, timestamp) |
108 smsSendStatus = self.__send(route, to, message, timestamp) |
109 logger.notice('smstrade._send(...)=%i(%s)'%(int(smsSendStatus),str(smsSendStatus))) |
109 logger.info('smstrade._send(...)=%i(%s)'%(int(smsSendStatus),str(smsSendStatus))) |
110 if int(smsSendStatus) in(100, 999): |
110 if int(smsSendStatus) in(100, 999): |
111 self.updateStatus(arranged=recipient) |
111 self.updateStatus(arranged=recipient) |
112 else: |
112 else: |
113 self.updateStatus(failed=recipient) |
113 self.updateStatus(failed=recipient) |
114 except (NotATelNumber,NoValidStatusCode,InternetConnectionError): |
114 except (NotATelNumber,NoValidStatusCode,InternetConnectionError): |