summaryrefslogtreecommitdiff
path: root/django/utils/text.py
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@sixmedia.com>2013-12-09 00:20:06 +0700
committerTim Graham <timograham@gmail.com>2013-12-10 15:12:48 -0500
commita2814846ca006b4fbf3a893ec52cd9d444b3a3eb (patch)
tree780498814e830e2b8ee6ac435575afdc2e8e63f6 /django/utils/text.py
parent0873200e7f61315ad375061a3dc6d37b514ff985 (diff)
Fixed E124 pep8 warnings.
Diffstat (limited to 'django/utils/text.py')
-rw-r--r--django/utils/text.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/utils/text.py b/django/utils/text.py
index b29e125f03..5e812b4f19 100644
--- a/django/utils/text.py
+++ b/django/utils/text.py
@@ -268,8 +268,7 @@ def phone2numeric(phone):
char2number = {'a': '2', 'b': '2', 'c': '2', 'd': '3', 'e': '3', 'f': '3',
'g': '4', 'h': '4', 'i': '4', 'j': '5', 'k': '5', 'l': '5', 'm': '6',
'n': '6', 'o': '6', 'p': '7', 'q': '7', 'r': '7', 's': '7', 't': '8',
- 'u': '8', 'v': '8', 'w': '9', 'x': '9', 'y': '9', 'z': '9',
- }
+ 'u': '8', 'v': '8', 'w': '9', 'x': '9', 'y': '9', 'z': '9'}
return ''.join(char2number.get(c, c) for c in phone.lower())
phone2numeric = allow_lazy(phone2numeric)