hooks/email.py
changeset 3721 a02f7df5bbec
parent 3431 6944a92c16f2
child 4252 6c4f109c2b03
--- a/hooks/email.py	Mon Oct 19 15:16:41 2009 +0200
+++ b/hooks/email.py	Mon Oct 19 15:17:20 2009 +0200
@@ -10,6 +10,9 @@
 from cubicweb.server import hook
 from cubicweb.server.repository import ensure_card_respected
 
+from logilab.common.compat import any
+
+
 class SetUseEmailRelationOp(hook.Operation):
     """delay this operation to commit to avoid conflict with a late rql query
     already setting the relation