Skip to content
Browse files

Remove a temporary variable deletion, it's not a big deal and it does…

…n't exist on python3.
  • Loading branch information...
1 parent 5aec69e commit 129f1ac8484d63c2e61a44fb2a18dd17246c1c4d @alex alex committed Aug 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/html.py
View
2 django/utils/html.py
@@ -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):
"""

0 comments on commit 129f1ac

Please sign in to comment.
Something went wrong with that request. Please try again.