mixins.py
changeset 8190 2a3c1b787688
parent 6515 6e998b1be7fd
child 8900 010a59e12d89
equal deleted inserted replaced
8189:2ee0ef069fa7 8190:2a3c1b787688
     1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    21 from itertools import chain
    21 from itertools import chain
    22 
    22 
    23 from logilab.common.decorators import cached
    23 from logilab.common.decorators import cached
    24 from logilab.common.deprecation import deprecated, class_deprecated
    24 from logilab.common.deprecation import deprecated, class_deprecated
    25 
    25 
    26 from cubicweb.selectors import implements
    26 from cubicweb.predicates import implements
    27 from cubicweb.interfaces import ITree
    27 from cubicweb.interfaces import ITree
    28 
    28 
    29 
    29 
    30 class TreeMixIn(object):
    30 class TreeMixIn(object):
    31     """base tree-mixin implementing the tree interface
    31     """base tree-mixin implementing the tree interface