Differences From Artifact [91ca572846]:
- File gluon/contrib/sms_utils.py — part of check-in [eba4a35a21] at 2011-08-08 04:53:38 on branch develop — Added web2py 1.98.2 (user: spiffy, size: 4192) [annotate] [blame] [check-ins using]
To Artifact [8d65436de3]:
- File gluon/contrib/sms_utils.py — part of check-in [5e6e1e2c0a] at 2011-11-20 05:28:20 on branch feature/web2py_auth — Upgraded to web2py 1.99.2 (user: spiffy, size: 4193) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
106 107 108 109 110 111 112 113 | """ import re if number[0]=='+1': number=number[1:] elif number[0]=='+': number=number[3:] elif number[:2]=='00': number=number[3:] number=re.sub('[^\d]','',number) return number+SMSCODES[provider] | > | 106 107 108 109 110 111 112 113 114 | """ import re if number[0]=='+1': number=number[1:] elif number[0]=='+': number=number[3:] elif number[:2]=='00': number=number[3:] number=re.sub('[^\d]','',number) return number+SMSCODES[provider] |