2.4 compat
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 19 Oct 2009 15:17:20 +0200
changeset 3721 a02f7df5bbec
parent 3720 5376aaadd16b
child 3722 c414f402cbff
2.4 compat
hooks/email.py
--- 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