[web] remove some unused imports
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 10 May 2012 10:31:53 +0200
changeset 8396 8d58fcf68539
parent 8394 b8b23af60019
child 8397 42ec34b3ced9
[web] remove some unused imports
etwist/server.py
web/test/unittest_views_staticcontrollers.py
wsgi/handler.py
--- a/etwist/server.py	Wed May 09 17:15:44 2012 +0200
+++ b/etwist/server.py	Thu May 10 10:31:53 2012 +0200
@@ -48,7 +48,7 @@
 from cubicweb import (AuthenticationError, ConfigurationError,
                       CW_EVENT_MANAGER, CubicWebException)
 from cubicweb.utils import json_dumps
-from cubicweb.web import Redirect, DirectResponse, StatusResponse, LogOut
+from cubicweb.web import DirectResponse
 from cubicweb.web.application import CubicWebPublisher
 from cubicweb.web.http_headers import generateDateTime
 from cubicweb.etwist.request import CubicWebTwistedRequestAdapter
--- a/web/test/unittest_views_staticcontrollers.py	Wed May 09 17:15:44 2012 +0200
+++ b/web/test/unittest_views_staticcontrollers.py	Thu May 10 10:31:53 2012 +0200
@@ -8,7 +8,6 @@
 import glob
 
 from cubicweb.utils import HTMLHead
-from cubicweb.web import StatusResponse
 from cubicweb.web.views.staticcontrollers import ConcatFilesHandler
 
 class StaticControllerCacheTC(CubicWebTC):
--- a/wsgi/handler.py	Wed May 09 17:15:44 2012 +0200
+++ b/wsgi/handler.py	Thu May 10 10:31:53 2012 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -15,9 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""WSGI request handler for cubicweb
-
-"""
+"""WSGI request handler for cubicweb"""
 
 
 
@@ -26,7 +24,7 @@
 from itertools import chain, repeat, izip
 
 from cubicweb import AuthenticationError
-from cubicweb.web import Redirect, DirectResponse, StatusResponse, LogOut
+from cubicweb.web import DirectResponse
 from cubicweb.web.application import CubicWebPublisher
 from cubicweb.wsgi.request import CubicWebWsgiRequest