# HG changeset patch # User Sylvain Thénault # Date 1256050405 -7200 # Node ID 122a01751d59ccc24f0e1d73b05b3fac169fe3c3 # Parent 9b973e8eabb31d028a007182faaa1c8fe9da9274 2.4 compat diff -r 9b973e8eabb3 -r 122a01751d59 entities/wfobjs.py --- a/entities/wfobjs.py Tue Oct 20 16:48:37 2009 +0200 +++ b/entities/wfobjs.py Tue Oct 20 16:53:25 2009 +0200 @@ -11,6 +11,7 @@ from logilab.common.decorators import cached, clear_cache from logilab.common.deprecation import deprecated +from logilab.common.compat import any from cubicweb.entities import AnyEntity, fetch_config from cubicweb.interfaces import IWorkflowable diff -r 9b973e8eabb3 -r 122a01751d59 selectors.py --- a/selectors.py Tue Oct 20 16:48:37 2009 +0200 +++ b/selectors.py Tue Oct 20 16:53:25 2009 +0200 @@ -45,7 +45,7 @@ import logging from warnings import warn, filterwarnings -from logilab.common.compat import all +from logilab.common.compat import all, any from logilab.common.deprecation import deprecated from logilab.common.interface import implements as implements_iface diff -r 9b973e8eabb3 -r 122a01751d59 server/repository.py --- a/server/repository.py Tue Oct 20 16:48:37 2009 +0200 +++ b/server/repository.py Tue Oct 20 16:53:25 2009 +0200 @@ -24,6 +24,7 @@ from time import time, localtime, strftime from logilab.common.decorators import cached +from logilab.common.compat import any from yams import BadSchemaDefinition from rql import RQLSyntaxError diff -r 9b973e8eabb3 -r 122a01751d59 web/test/unittest_form.py --- a/web/test/unittest_form.py Tue Oct 20 16:48:37 2009 +0200 +++ b/web/test/unittest_form.py Tue Oct 20 16:53:25 2009 +0200 @@ -10,6 +10,7 @@ from xml.etree.ElementTree import fromstring from logilab.common.testlib import unittest_main, mock_object +from logilab.common.compat import any from cubicweb import Binary from cubicweb.devtools.testlib import WebTest diff -r 9b973e8eabb3 -r 122a01751d59 web/test/unittest_views_editforms.py --- a/web/test/unittest_views_editforms.py Tue Oct 20 16:48:37 2009 +0200 +++ b/web/test/unittest_views_editforms.py Tue Oct 20 16:53:25 2009 +0200 @@ -6,6 +6,7 @@ :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses """ from logilab.common.testlib import unittest_main +from logilab.common.compat import any from cubicweb.devtools.apptest import EnvBasedTC from cubicweb.devtools.testlib import WebTest from cubicweb.web.views.autoform import AutomaticEntityForm as AEF