Commit 11b08176 authored by Alain Takoudjou's avatar Alain Takoudjou

Fix storage-configuration is not defined.

parent 242e94db
......@@ -113,8 +113,11 @@ class Recipe:
server_url = slap_connection['server_url']
key_file = slap_connection.get('key_file')
cert_file = slap_connection.get('cert_file')
storage_home = self.buildout['storage-configuration'].get('storage-home')
instance_root = self.buildout['buildout']['directory']
storage_configuration_dict = self.buildout.get('storage-configuration')
storage_home = ''
if storage_configuration_dict:
storage_home = storage_configuration_dict.get('storage-home')
slap.initializeConnection(server_url, key_file, cert_file)
self.computer_partition = slap.registerComputerPartition(
computer_id,
......
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