Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
e54eb5ce
Commit
e54eb5ce
authored
Jun 15, 2011
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing variable in error message
parent
9143ce18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5SyncML/Tool/SynchronizationTool.py
product/ERP5SyncML/Tool/SynchronizationTool.py
+1
-1
No files found.
product/ERP5SyncML/Tool/SynchronizationTool.py
View file @
e54eb5ce
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment