diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-09-06 21:56:40 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-09-06 21:56:40 -0700 |
| commit | 2530735d2d57316d1df8177745e93a78de663ff7 (patch) | |
| tree | 5cb8209d733574783dcbb2b48fede0e97ce724a0 /django/utils/html.py | |
| parent | a9589dd280ba84db3131f32b423ef45c67a5a236 (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.py | 1 |
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, '' |
