# HG changeset patch # User Sylvain Thénault # Date 1336638713 -7200 # Node ID 8d58fcf68539ec57f420a2f76abf7060344f10d9 # Parent b8b23af60019fcffe1a786ca574bfce709e021e5 [web] remove some unused imports diff -r b8b23af60019 -r 8d58fcf68539 etwist/server.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 diff -r b8b23af60019 -r 8d58fcf68539 web/test/unittest_views_staticcontrollers.py --- 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): diff -r b8b23af60019 -r 8d58fcf68539 wsgi/handler.py --- 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 . -"""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