From 904537c9dd343f92e4f95eb1e5e047e5ac7e8ca8 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 3 Feb 2016 13:15:40 +0200 Subject: Fix deprecation warnings in urlconfs --- servo/messaging/sms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'servo/messaging') diff --git a/servo/messaging/sms.py b/servo/messaging/sms.py index 352a297..9ba8278 100644 --- a/servo/messaging/sms.py +++ b/servo/messaging/sms.py @@ -20,7 +20,7 @@ class BaseSMSProvider: if len(recipient) < 8: recipient = '372' + recipient - + recipient = re.sub(r'[\+\s\-]', '', recipient) self.recipient = recipient.lstrip('+') self.note = note @@ -49,7 +49,7 @@ class SMSJazzProvider: def __init__(self, recipient, note, msg): if len(recipient) < 8: recipient = '372' + recipient - + recipient = re.sub(r'[\+\s\-]', '', recipient) self.recipient = recipient.lstrip('+') self.note = note -- cgit v1.2.3