web/action.py
changeset 2698 a6ef9bec755e
parent 2656 a93ae0f6c0ad
child 2799 b703639614e7
child 3219 be8cfc00ae04
equal deleted inserted replaced
2697:a0c4bc933a1b 2698:a6ef9bec755e
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     7 """
     7 """
     8 __docformat__ = "restructuredtext en"
     8 __docformat__ = "restructuredtext en"
       
     9 _ = unicode
     9 
    10 
    10 from cubicweb import target
    11 from cubicweb import target
    11 from cubicweb.selectors import (partial_relation_possible, match_search_state,
    12 from cubicweb.selectors import (partial_relation_possible, match_search_state,
    12                                 one_line_rset, partial_may_add_relation, yes,
    13                                 one_line_rset, partial_may_add_relation, yes,
    13                                 accepts_compat, condition_compat, deprecate)
    14                                 accepts_compat, condition_compat, deprecate)
    14 from cubicweb.appobject import AppObject
    15 from cubicweb.appobject import AppObject
    15 
       
    16 _ = unicode
       
    17 
    16 
    18 
    17 
    19 class Action(AppObject):
    18 class Action(AppObject):
    20     """abstract action. Handle the .search_states attribute to match
    19     """abstract action. Handle the .search_states attribute to match
    21     request search state.
    20     request search state.