Unused imports
authorRémi Cardona <remi.cardona@logilab.fr>
Tue, 15 Sep 2015 15:10:59 +0200
changeset 10594 6a55853f14c9
parent 10593 03ce3d24db87
child 10595 c7a090052e5f
Unused imports
devtools/testlib.py
web/http_headers.py
wsgi/__init__.py
wsgi/request.py
--- a/devtools/testlib.py	Fri Sep 11 16:01:10 2015 +0200
+++ b/devtools/testlib.py	Tue Sep 15 15:10:59 2015 +0200
@@ -28,7 +28,6 @@
 from math import log
 from contextlib import contextmanager
 from warnings import warn
-from types import NoneType
 from itertools import chain
 
 import yams.schema
--- a/web/http_headers.py	Fri Sep 11 16:01:10 2015 +0200
+++ b/web/http_headers.py	Tue Sep 15 15:10:59 2015 +0200
@@ -2,7 +2,7 @@
 # http://twistedmatrix.com/trac/wiki/TwistedWeb2
 
 
-import types, time
+import time
 from calendar import timegm
 import base64
 import re
--- a/wsgi/__init__.py	Fri Sep 11 16:01:10 2015 +0200
+++ b/wsgi/__init__.py	Tue Sep 15 15:10:59 2015 +0200
@@ -28,8 +28,6 @@
 
 from email import message, message_from_string
 from Cookie import SimpleCookie
-from StringIO import StringIO
-from cgi import parse_header
 from pprint import pformat as _pformat
 
 
--- a/wsgi/request.py	Fri Sep 11 16:01:10 2015 +0200
+++ b/wsgi/request.py	Tue Sep 15 15:10:59 2015 +0200
@@ -28,12 +28,10 @@
 import tempfile
 
 from StringIO import StringIO
-from urllib import quote
 from urlparse import parse_qs
-from warnings import warn
 
 from cubicweb.multipart import (
-    copy_file, parse_form_data, MultipartError, parse_options_header)
+    copy_file, parse_form_data, parse_options_header)
 from cubicweb.web import RequestError
 from cubicweb.web.request import CubicWebRequestBase
 from cubicweb.wsgi import pformat, normalize_header