diff -r d8de1ac21f36 -r 432f87a63057 cubicweb/entity.py --- a/cubicweb/entity.py Wed Oct 05 15:28:43 2016 +0200 +++ b/cubicweb/entity.py Fri Sep 30 18:25:08 2016 +0200 @@ -1,4 +1,4 @@ -# copyright 2003-2014 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,8 +17,6 @@ # with CubicWeb. If not, see . """Base class for entity objects manipulated in clients""" -__docformat__ = "restructuredtext en" - from warnings import warn from six import text_type, string_types, integer_types @@ -47,6 +45,7 @@ _marker = object() + def greater_card(rschema, subjtypes, objtypes, index): for subjtype in subjtypes: for objtype in objtypes: