equal
deleted
inserted
replaced
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 |
30 from logilab.common.deprecation import deprecated |
30 from logilab.common.deprecation import deprecated |
31 from logilab.common.compat import any |
31 from logilab.common.compat import any |
32 |
32 |
33 from cubicweb.entities import AnyEntity, fetch_config |
33 from cubicweb.entities import AnyEntity, fetch_config |
34 from cubicweb.view import EntityAdapter |
34 from cubicweb.view import EntityAdapter |
35 from cubicweb.selectors import relation_possible |
35 from cubicweb.predicates import relation_possible |
36 from cubicweb.mixins import MI_REL_TRIGGERS |
36 from cubicweb.mixins import MI_REL_TRIGGERS |
37 |
37 |
38 class WorkflowException(Exception): pass |
38 class WorkflowException(Exception): pass |
39 |
39 |
40 class Workflow(AnyEntity): |
40 class Workflow(AnyEntity): |