Commit e54eb5ce authored by Aurel's avatar Aurel

add missing variable in error message

parent 9143ce18
...@@ -1115,7 +1115,7 @@ class SynchronizationTool(BaseTool): ...@@ -1115,7 +1115,7 @@ class SynchronizationTool(BaseTool):
user = user_folder.getUserById(user_id) user = user_folder.getUserById(user_id)
if user is None: if user is None:
raise ValueError, "Current logged user %s cannot be found in user folder, \ raise ValueError, "Current logged user %s cannot be found in user folder, \
synchronization cannot work with this kind of user" synchronization cannot work with this kind of user" %(user_id,)
subscription._edit(zope_user=user_id) subscription._edit(zope_user=user_id)
if subscription.getAuthenticationState() != 'logged_in': if subscription.getAuthenticationState() != 'logged_in':
subscription.login() subscription.login()
......
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