web/action.py
changeset 8190 2a3c1b787688
parent 7990 a673d1d9a738
child 9567 b87c09f853d3
equal deleted inserted replaced
8189:2ee0ef069fa7 8190:2a3c1b787688
     1 # copyright 2003-2011 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
    66 
    66 
    67 __docformat__ = "restructuredtext en"
    67 __docformat__ = "restructuredtext en"
    68 _ = unicode
    68 _ = unicode
    69 
    69 
    70 from cubicweb import target
    70 from cubicweb import target
    71 from cubicweb.selectors import (partial_relation_possible, match_search_state,
    71 from cubicweb.predicates import (partial_relation_possible, match_search_state,
    72                                 one_line_rset)
    72                                  one_line_rset)
    73 from cubicweb.appobject import AppObject
    73 from cubicweb.appobject import AppObject
    74 
    74 
    75 
    75 
    76 class Action(AppObject):
    76 class Action(AppObject):
    77     """abstract action. Handle the .search_states attribute to match
    77     """abstract action. Handle the .search_states attribute to match