summaryrefslogtreecommitdiff
path: root/pecan/templating.py
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2013-05-03 12:07:50 -0400
committerRyan Petrello <lists@ryanpetrello.com>2013-05-03 12:07:50 -0400
commit81b13c4144c636b956fac2b826b1ebf08a404641 (patch)
treed862776882114e6cf4c6bed8899b79c843a013ad /pecan/templating.py
parent2edea4258995038a7c4b238cb65ece68ff810528 (diff)
downloadpecan-81b13c4144c636b956fac2b826b1ebf08a404641.tar.gz
General import and flake8 cleanup.
Diffstat (limited to 'pecan/templating.py')
-rw-r--r--pecan/templating.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/pecan/templating.py b/pecan/templating.py
index 1dad6ad..81a60a0 100644
--- a/pecan/templating.py
+++ b/pecan/templating.py
@@ -1,9 +1,4 @@
-import six
-if six.PY3:
- from html import escape
-else:
- from cgi import escape # noqa
-
+from .compat import escape
from .jsonify import encode
_builtin_renderers = {}