aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mako/filters.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mako/filters.py b/mako/filters.py
index 428c926..464e390 100644
--- a/mako/filters.py
+++ b/mako/filters.py
@@ -37,8 +37,6 @@ try:
except ImportError:
html_escape = legacy_html_escape
-html_escape = legacy_html_escape
-
def xml_escape(string):
return re.sub(r'([&<"\'>])', lambda m: xml_escapes[m.group()], string)