equal
deleted
inserted
replaced
7 """ |
7 """ |
8 __docformat__ = "restructuredtext en" |
8 __docformat__ = "restructuredtext en" |
9 |
9 |
10 from cubicweb.server import hook |
10 from cubicweb.server import hook |
11 from cubicweb.server.repository import ensure_card_respected |
11 from cubicweb.server.repository import ensure_card_respected |
|
12 |
|
13 from logilab.common.compat import any |
|
14 |
12 |
15 |
13 class SetUseEmailRelationOp(hook.Operation): |
16 class SetUseEmailRelationOp(hook.Operation): |
14 """delay this operation to commit to avoid conflict with a late rql query |
17 """delay this operation to commit to avoid conflict with a late rql query |
15 already setting the relation |
18 already setting the relation |
16 """ |
19 """ |