summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-03-02 08:58:12 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-03-02 08:58:12 -0500
commit12b403083ececdbba503e67ad6ef41e4df2a5a4e (patch)
tree93a2667bccf76a2eb0c85e49881baa1315fcbf47
parentab9764473914a94e97d4e51d5a0db03f05d0be51 (diff)
downloadcherrypy-12b403083ececdbba503e67ad6ef41e4df2a5a4e.tar.gz
Remove unused imports
-rw-r--r--cherrypy/lib/jsontools.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cherrypy/lib/jsontools.py b/cherrypy/lib/jsontools.py
index 776bddf6..408f556e 100644
--- a/cherrypy/lib/jsontools.py
+++ b/cherrypy/lib/jsontools.py
@@ -1,6 +1,5 @@
-import sys
import cherrypy
-from cherrypy._cpcompat import basestring, ntou, json, json_encode, json_decode
+from cherrypy._cpcompat import basestring, ntou, json_encode, json_decode
def json_processor(entity):
"""Read application/json data into request.json."""
@@ -84,4 +83,3 @@ def json_out(content_type='application/json', debug=False, handler=json_handler)
if debug:
cherrypy.log('Setting Content-Type to %s' % content_type, 'TOOLS.JSON_OUT')
cherrypy.serving.response.headers['Content-Type'] = content_type
-