use __regid__, not id
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Sep 2009 15:42:00 +0200
changeset 3438 207dac2b03d4
parent 3436 1e927f7ccb23
child 3445 32492e9e734b
use __regid__, not id
common/mail.py
--- a/common/mail.py	Wed Sep 23 15:26:59 2009 +0200
+++ b/common/mail.py	Wed Sep 23 15:42:00 2009 +0200
@@ -162,7 +162,7 @@
         self._kwargs = kwargs
         recipients = self.recipients()
         if not recipients:
-            self.info('skipping %s notification, no recipients', self.id)
+            self.info('skipping %s notification, no recipients', self.__regid__)
             return
         if self.cw_rset is not None:
             entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0)