summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-04-08 10:46:24 -0400
committerschneefux <schneefux+commit@schneefux.xyz>2014-04-08 10:46:24 -0400
commit658f13304f51543188e5a2ca2a4850a1901d1dde (patch)
tree399875ef73a4b8103eace9b953065245946ef4d1 /client
parentf5da9106f5c7787018602850d4ad4e93e14e0798 (diff)
downloadjasper-client-658f13304f51543188e5a2ca2a4850a1901d1dde.tar.gz
jasper-client-658f13304f51543188e5a2ca2a4850a1901d1dde.zip
removed 10-digit phone # requirement
Diffstat (limited to 'client')
-rw-r--r--client/populate.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/client/populate.py b/client/populate.py
index 8181dc5..7253f06 100644
--- a/client/populate.py
+++ b/client/populate.py
@@ -25,14 +25,10 @@ def run():
simple_request('gmail_address', 'Gmail address')
profile['gmail_password'] = getpass()
-
# phone number
clean_number = lambda s: re.sub(r'[^0-9]', '', s)
phone_number = clean_number(raw_input(
- "Phone number. 10 digits (no country code). Any dashes or spaces will be removed for you: "))
- while phone_number and len(phone_number) != 10:
- print("Invalid phone number. Must be 10 digits.")
- phone_number = clean_number(raw_input("Phone number: "))
+ "Phone number. No country code. Any dashes or spaces will be removed for you: "))
if phone_number:
profile['phone_number'] = phone_number