some minor cleanups
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 16 Sep 2011 14:01:17 +0200
changeset 7803 02e141e41da2
parent 7802 d0bf71aff4a1
child 7807 f2a5805615f8
some minor cleanups
entity.py
web/test/unittest_urlrewrite.py
--- a/entity.py	Fri Sep 16 13:56:00 2011 +0200
+++ b/entity.py	Fri Sep 16 14:01:17 2011 +0200
@@ -269,7 +269,7 @@
                 if len(targettypes) > 1:
                     # find fetch_attrs common to all destination types
                     fetchattrs = vreg['etypes'].fetch_attrs(targettypes)
-                    # .. and handle ambiguous relations
+                    # ... and handle ambiguous relations
                     cls._fetch_ambiguous_rtypes(select, var, fetchattrs,
                                                 targettypes, vreg.schema)
                 else:
--- a/web/test/unittest_urlrewrite.py	Fri Sep 16 13:56:00 2011 +0200
+++ b/web/test/unittest_urlrewrite.py	Fri Sep 16 14:01:17 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 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,6 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""
-
-"""
 from logilab.common.testlib import TestCase, unittest_main
 
 from cubicweb.devtools.testlib import CubicWebTC