Permalink
Browse files

Removed an unused variable.

  • Loading branch information...
alex committed Mar 22, 2014
1 parent 96fc390 commit 684e8a941bd0d08504718996c1afaf57957ce070
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/html.py
View
@@ -149,7 +149,7 @@ def _strip_once(value):
return value
try:
s.close()
- except (HTMLParseError, UnboundLocalError) as err:
+ except (HTMLParseError, UnboundLocalError):
# UnboundLocalError because of http://bugs.python.org/issue17802
# on Python 3.2, triggered by strict=False mode of HTMLParser
return s.get_data() + s.rawdata

0 comments on commit 684e8a9

Please sign in to comment.