Fix typo

git-svn-id: https://svn.erp5.org/repos/experimental@2125 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent 8f9e9059
......@@ -311,7 +311,7 @@ class EssendexGateway(XMLObject):
destination_reference=xml['MessageId'],
delivery_date=xml['OccurredAt'])
def pullLastMessageList(self, start_date=None, stop_date=None)
def pullLastMessageList(self, start_date=None, stop_date=None):
"""Get last messsages on the gateway"""
if start_date is not None or stop_date is not None:
......@@ -353,11 +353,10 @@ class EssendexGateway(XMLObject):
reception_date=DateTime())
elif result['Result'] == "Test":
#Do nothing, we have log params
pass
elif result['Result'] == "Error":
#we get an error when call the gateway
raise SMSGatewayError, urllib.unquote(result.get('Message', "Impossible to get last message list"))
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment