equal
deleted
inserted
replaced
18 """hooks to ensure use_email / primary_email relations consistency""" |
18 """hooks to ensure use_email / primary_email relations consistency""" |
19 |
19 |
20 __docformat__ = "restructuredtext en" |
20 __docformat__ = "restructuredtext en" |
21 |
21 |
22 from cubicweb.server import hook |
22 from cubicweb.server import hook |
23 |
|
24 from logilab.common.compat import any |
|
25 |
23 |
26 |
24 |
27 class SetUseEmailRelationOp(hook.Operation): |
25 class SetUseEmailRelationOp(hook.Operation): |
28 """delay this operation to commit to avoid conflict with a late rql query |
26 """delay this operation to commit to avoid conflict with a late rql query |
29 already setting the relation |
27 already setting the relation |