equal
deleted
inserted
replaced
111 else: |
111 else: |
112 self.updateStatus(failed=recipient) |
112 self.updateStatus(failed=recipient) |
113 except (NotATelNumber,NoValidStatusCode,InternetConnectionError): |
113 except (NotATelNumber,NoValidStatusCode,InternetConnectionError): |
114 self.updateStatus(failed=recipient) |
114 self.updateStatus(failed=recipient) |
115 |
115 |
116 def __send(self, key, route, to, message, from_=None, timestamp=None): |
116 def __send(self, route, to, message, timestamp=None): |
117 """ This function is the main part of the request to the sms service. |
117 """ This function is the main part of the request to the sms service. |
118 The function has to return a unicode formated string that will represent the answer of the sms service |
118 The function has to return a unicode formated string that will represent the answer of the sms service |
119 to the request.""" |
119 to the request.""" |
120 import logging |
120 import logging |
121 logging.debug('smstrade._send(%s,%s,%s,%s)'%( route, to, message, timestamp)) |
121 logging.debug('smstrade._send(%s,%s,%s,%s)'%( route, to, message, timestamp)) |