Commit b06c6fa0 authored by Vincent Pelletier's avatar Vincent Pelletier

Repr user name in "user not found" error, to make it more obvious when a space...

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
parent 6b73329d
...@@ -252,7 +252,7 @@ class Message: ...@@ -252,7 +252,7 @@ class Message:
newSecurityManager(None, user) newSecurityManager(None, user)
else : else :
LOG("CMFActivity", WARNING, LOG("CMFActivity", WARNING,
"Unable to find user %s in the portal" % user_name) "Unable to find user %r in the portal" % user_name)
noSecurityManager() noSecurityManager()
return user return user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment