diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py index 6aa1909e5739ac8c385f1303c90cfb307e1aaa57..413b9f5d15b4e4f35ee62067565237594a78cb51 100644 --- a/product/CMFActivity/ActivityTool.py +++ b/product/CMFActivity/ActivityTool.py @@ -1050,7 +1050,7 @@ class ActivityTool (Folder, UniqueObject): def invoke(self, message): if self.activity_tracking: - activity_tracking_logger.info('invoking message: object_path=%s, method_id=%s, args=%s, kw=%s, activity_kw=%s, user_name=%s' % ('/'.join(message.object_path), message.method_id, message.args, message.kw, message.activity_kw, message.user_name)) + activity_tracking_logger.info('invoking message: object_path=%s, method_id=%s, args=%r, kw=%r, activity_kw=%r, user_name=%s' % ('/'.join(message.object_path), message.method_id, message.args, message.kw, message.activity_kw, message.user_name)) old_localizer_context = False if getattr(self, 'aq_chain', None) is not None: # Grab existing acquisition chain and extrach base objects. diff --git a/product/ERP5Type/Message.py b/product/ERP5Type/Message.py index c378e5e322cbc7713f2bab184b3d0ee4ce33a98f..612020e2e0238d4bc4dac32056f87eef3fc8f03b 100644 --- a/product/ERP5Type/Message.py +++ b/product/ERP5Type/Message.py @@ -129,7 +129,6 @@ class Message(Persistent): if isinstance(message, unicode): message = message.encode('utf-8') return message - __repr__ = __str__ def __unicode__(self): """