From b06c6fa09cf790980369827532a2ef775a3fbf74 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 25 Feb 2009 12:57:53 +0000 Subject: [PATCH] Repr user name in "user not found" error, to make it more obvious when a space slipped into the string, for example. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25702 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFActivity/ActivityTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py index 7674cb84d3..b44762c82e 100644 --- a/product/CMFActivity/ActivityTool.py +++ b/product/CMFActivity/ActivityTool.py @@ -252,7 +252,7 @@ class Message: newSecurityManager(None, user) else : LOG("CMFActivity", WARNING, - "Unable to find user %s in the portal" % user_name) + "Unable to find user %r in the portal" % user_name) noSecurityManager() return user -- 2.30.9