summaryrefslogtreecommitdiff
path: root/django/utils/html.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-09-06 21:56:40 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-09-06 21:56:40 -0700
commit2530735d2d57316d1df8177745e93a78de663ff7 (patch)
tree5cb8209d733574783dcbb2b48fede0e97ce724a0 /django/utils/html.py
parenta9589dd280ba84db3131f32b423ef45c67a5a236 (diff)
Fixed a number of flake8 errors -- particularly around unused imports and local variables
Diffstat (limited to 'django/utils/html.py')
-rw-r--r--django/utils/html.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/utils/html.py b/django/utils/html.py
index 76fc23713d..ff3bc60021 100644
--- a/django/utils/html.py
+++ b/django/utils/html.py
@@ -210,7 +210,6 @@ def urlize(text, trim_url_limit=None, nofollow=False, autoescape=False):
safe_input = isinstance(text, SafeData)
words = word_split_re.split(force_text(text))
for i, word in enumerate(words):
- match = None
if '.' in word or '@' in word or ':' in word:
# Deal with punctuation.
lead, middle, trail = '', word, ''