[FIX] At the end of the database creation polling, None passwords are no more returned (for e.g. the portaluser).
bzr revid: vmt@openerp.com-20130131130447-3obyq2ch2omerypo
This commit is contained in:
parent
2910d5b3f6
commit
7b789f0865
|
@ -140,6 +140,10 @@ def exp_get_progress(id):
|
|||
clean = self_actions[id]['clean']
|
||||
if clean:
|
||||
users = self_actions[id]['users']
|
||||
for user in users:
|
||||
# Remove the None passwords as they can't be marshalled by XML-RPC.
|
||||
if user['password'] is None:
|
||||
user['password'] = ''
|
||||
self_actions.pop(id)
|
||||
return 1.0, users
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue