Commit 6432e40f authored by Ivan Tyagov's avatar Ivan Tyagov

Set descriptive bc uid only if provided by server.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24199 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9455b73d
......@@ -767,8 +767,9 @@ class WizardTool(BaseTool):
server_url = self.getServerUrl() + self.getServerRoot()
server_response = self._callRemoteMethod('getBT5FilesForBusinessConfiguration', server_url)
## save erp5_uid which will make it possible to distingush different business conf for client
current_bc_index = server_response['server_buffer']['current_bc_index']
self._setServerInfo(current_bc_index = current_bc_index)
current_bc_index = server_response['server_buffer'].get('current_bc_index', None)
if current_bc_index is not None:
self._setServerInfo(current_bc_index = current_bc_index)
self.installBT5FilesFromServer(server_response, True)
server_response = self._callRemoteMethod('finalizeInstallation', server_url)
LOG("Wizard", INFO,
......
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