cleanup 2.5 __future__ imports
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Feb 2010 09:44:20 +0100
changeset 4536 02d0803a60b8
parent 4535 71c86a315a9a
child 4537 aff0f59ed6e3
cleanup 2.5 __future__ imports
test/unittest_rset.py
web/test/unittest_form.py
web/views/baseviews.py
--- a/test/unittest_rset.py	Wed Feb 10 08:54:47 2010 +0100
+++ b/test/unittest_rset.py	Wed Feb 10 09:44:20 2010 +0100
@@ -6,16 +6,14 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
-#from __future__ import with_statement
+
+from urlparse import urlsplit
+
+from rql import parse
 
 from logilab.common.testlib import TestCase, unittest_main
 
 from cubicweb.devtools.testlib import CubicWebTC
-from cubicweb.selectors import traced_selection
-
-from urlparse import urlsplit
-from rql import parse
-
 from cubicweb.rset import NotAnEntity, ResultSet, attr_desc_iterator
 
 
--- a/web/test/unittest_form.py	Wed Feb 10 08:54:47 2010 +0100
+++ b/web/test/unittest_form.py	Wed Feb 10 09:44:20 2010 +0100
@@ -5,7 +5,6 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
-#from __future__ import with_statement
 
 from xml.etree.ElementTree import fromstring
 
--- a/web/views/baseviews.py	Wed Feb 10 08:54:47 2010 +0100
+++ b/web/views/baseviews.py	Wed Feb 10 09:44:20 2010 +0100
@@ -11,7 +11,6 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
-#from __future__ import with_statement
 __docformat__ = "restructuredtext en"
 _ = unicode