[compat] Remove imports of "any" and "all" from lgc (closes #4306044)
They're builtin since python 2.5.
--- a/entities/wfobjs.py Thu Jun 12 12:28:10 2014 +0200
+++ b/entities/wfobjs.py Tue Sep 02 12:22:18 2014 +0200
@@ -27,7 +27,6 @@
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.view import EntityAdapter
--- a/hooks/email.py Thu Jun 12 12:28:10 2014 +0200
+++ b/hooks/email.py Tue Sep 02 12:22:18 2014 +0200
@@ -21,8 +21,6 @@
from cubicweb.server import hook
-from logilab.common.compat import any
-
class SetUseEmailRelationOp(hook.Operation):
"""delay this operation to commit to avoid conflict with a late rql query
--- a/predicates.py Thu Jun 12 12:28:10 2014 +0200
+++ b/predicates.py Tue Sep 02 12:22:18 2014 +0200
@@ -188,7 +188,6 @@
from warnings import warn
from operator import eq
-from logilab.common.compat import all, any
from logilab.common.interface import implements as implements_iface
from logilab.common.registry import Predicate, objectify_predicate, yes
--- a/schema.py Thu Jun 12 12:28:10 2014 +0200
+++ b/schema.py Tue Sep 02 12:22:18 2014 +0200
@@ -31,7 +31,6 @@
from logilab.common.deprecation import deprecated, class_moved, moved
from logilab.common.textutils import splitstrip
from logilab.common.graph import get_cycles
-from logilab.common.compat import any
from yams import BadSchemaDefinition, buildobjs as ybo
from yams.schema import Schema, ERSchema, EntitySchema, RelationSchema, \
--- a/server/msplanner.py Thu Jun 12 12:28:10 2014 +0200
+++ b/server/msplanner.py Tue Sep 02 12:22:18 2014 +0200
@@ -90,7 +90,6 @@
from itertools import imap, ifilterfalse
-from logilab.common.compat import any
from logilab.common.decorators import cached
from logilab.common.deprecation import deprecated
--- a/server/querier.py Thu Jun 12 12:28:10 2014 +0200
+++ b/server/querier.py Tue Sep 02 12:22:18 2014 +0200
@@ -22,7 +22,6 @@
from itertools import repeat
-from logilab.common.compat import any
from rql import RQLSyntaxError, CoercionError
from rql.stmts import Union
from rql.nodes import ETYPE_PYOBJ_MAP, etype_from_pyobj, Relation, Exists, Not
--- a/server/repository.py Thu Jun 12 12:28:10 2014 +0200
+++ b/server/repository.py Tue Sep 02 12:22:18 2014 +0200
@@ -39,7 +39,6 @@
from warnings import warn
from logilab.common.decorators import cached, clear_cache
-from logilab.common.compat import any
from logilab.common import flatten
from yams import BadSchemaDefinition
--- a/server/rqlannotation.py Thu Jun 12 12:28:10 2014 +0200
+++ b/server/rqlannotation.py Tue Sep 02 12:22:18 2014 +0200
@@ -21,8 +21,6 @@
__docformat__ = "restructuredtext en"
-from logilab.common.compat import any
-
from rql import BadRQLQuery
from rql.nodes import Relation, VariableRef, Constant, Variable, Or, Exists
from rql.utils import common_parent
--- a/server/sources/native.py Thu Jun 12 12:28:10 2014 +0200
+++ b/server/sources/native.py Tue Sep 02 12:22:18 2014 +0200
@@ -42,7 +42,6 @@
import logging
import sys
-from logilab.common.compat import any
from logilab.common.decorators import cached, clear_cache
from logilab.common.configuration import Method
from logilab.common.shellutils import getlogin
--- a/toolsutils.py Thu Jun 12 12:28:10 2014 +0200
+++ b/toolsutils.py Tue Sep 02 12:22:18 2014 +0200
@@ -33,7 +33,6 @@
raise NotImplementedError
from logilab.common.clcommands import Command as BaseCommand
-from logilab.common.compat import any
from logilab.common.shellutils import ASK
from cubicweb import warning # pylint: disable=E0611
--- a/web/facet.py Thu Jun 12 12:28:10 2014 +0200
+++ b/web/facet.py Tue Sep 02 12:22:18 2014 +0200
@@ -58,7 +58,6 @@
from logilab.common.graph import has_path
from logilab.common.decorators import cached, cachedproperty
from logilab.common.date import datetime2ticks, ustrftime, ticks2datetime
-from logilab.common.compat import all
from logilab.common.deprecation import deprecated
from logilab.common.registry import yes
--- a/web/test/unittest_form.py Thu Jun 12 12:28:10 2014 +0200
+++ b/web/test/unittest_form.py Tue Sep 02 12:22:18 2014 +0200
@@ -19,7 +19,6 @@
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, ValidationError
from cubicweb.devtools.testlib import CubicWebTC
--- a/web/test/unittest_views_editforms.py Thu Jun 12 12:28:10 2014 +0200
+++ b/web/test/unittest_views_editforms.py Tue Sep 02 12:22:18 2014 +0200
@@ -19,7 +19,6 @@
"""
from logilab.common.testlib import unittest_main, mock_object
-from logilab.common.compat import any
from cubicweb.devtools.testlib import CubicWebTC
from cubicweb.web.views import uicfg
--- a/web/views/forms.py Thu Jun 12 12:28:10 2014 +0200
+++ b/web/views/forms.py Tue Sep 02 12:22:18 2014 +0200
@@ -47,7 +47,6 @@
from logilab.common import dictattr, tempattr
from logilab.common.decorators import iclassmethod, cached
-from logilab.common.compat import any
from logilab.common.textutils import splitstrip
from logilab.common.deprecation import deprecated
--- a/web/views/uicfg.py Thu Jun 12 12:28:10 2014 +0200
+++ b/web/views/uicfg.py Tue Sep 02 12:22:18 2014 +0200
@@ -57,8 +57,6 @@
from warnings import warn
-from logilab.common.compat import any
-
from cubicweb import neg_role
from cubicweb.rtags import (RelationTags, RelationTagsBool, RelationTagsSet,
RelationTagsDict, NoTargetRelationTagsDict,