summaryrefslogtreecommitdiff
path: root/paste/evalexception/middleware.py
diff options
context:
space:
mode:
authorChris Dent <cdent@anticdent.org>2018-10-24 22:46:20 +0100
committerChris Dent <cdent@anticdent.org>2018-10-24 22:46:20 +0100
commit00f4fde04bdd841ec88c2b62dd9dcab92a3d019d (patch)
treedbd1466a951c44cb7f5f94847d8b1dbde024b89c /paste/evalexception/middleware.py
parent9ceef07267ba83ea5c00533f85f9edf9ba38cd71 (diff)
downloadpaste-git-00f4fde04bdd841ec88c2b62dd9dcab92a3d019d.tar.gz
Remove use of future
Future is calling installation endless recursion. We are only using it for an html.escape method, so we make our own and get rid of future. Related-Bug: #6
Diffstat (limited to 'paste/evalexception/middleware.py')
-rw-r--r--paste/evalexception/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py
index f41a4f5..d086344 100644
--- a/paste/evalexception/middleware.py
+++ b/paste/evalexception/middleware.py
@@ -29,7 +29,6 @@ from __future__ import print_function
import sys
import os
-import html
import traceback
import six
from six.moves import cStringIO as StringIO
@@ -45,6 +44,7 @@ from paste import registry
from paste import request
from paste import response
from paste.evalexception import evalcontext
+from paste.util import html
limit = 200