Skip to content

Commit

Permalink
Remove a temporary variable deletion, it's not a big deal and it does…
Browse files Browse the repository at this point in the history
…n't exist on python3.
  • Loading branch information
alex committed Aug 3, 2012
1 parent 5aec69e commit 129f1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/utils/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
html_gunk_re = re.compile(r'(?:<br clear="all">|<i><\/i>|<b><\/b>|<em><\/em>|<strong><\/strong>|<\/?smallcaps>|<\/?uppercase>)', re.IGNORECASE)
hard_coded_bullets_re = re.compile(r'((?:<p>(?:%s).*?[a-zA-Z].*?</p>\s*)+)' % '|'.join([re.escape(x) for x in DOTS]), re.DOTALL)
trailing_empty_content_re = re.compile(r'(?:<p>(?:&nbsp;|\s|<br \/>)*?</p>\s*)+\Z')
del x # Temporary variable


def escape(text):
"""
Expand Down

0 comments on commit 129f1ac

Please sign in to comment.