cubicweb/etwist/server.py
changeset 11870 3a84a79c4ed5
parent 11767 432f87a63057
child 11877 32a3860c799d
--- a/cubicweb/etwist/server.py	Thu Nov 24 16:58:27 2016 +0100
+++ b/cubicweb/etwist/server.py	Thu Nov 24 16:58:50 2016 +0100
@@ -1,4 +1,4 @@
-# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -17,15 +17,11 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """twisted server for CubicWeb web instances"""
 
-
 import sys
-import select
 import traceback
 import threading
 from cgi import FieldStorage, parse_header
 
-from six.moves.urllib.parse import urlsplit, urlunsplit
-
 from cubicweb.statsd_logger import statsd_timeit
 
 from twisted.internet import reactor, task, threads
@@ -44,6 +40,7 @@
 from cubicweb.etwist.request import CubicWebTwistedRequestAdapter
 from cubicweb.etwist.http import HTTPResponse
 
+
 def start_task(interval, func):
     lc = task.LoopingCall(func)
     # wait until interval has expired to actually start the task, else we have