Skip to content
Snippets Groups Projects
Commit 9dccda07 authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-13330: Removed redundant configs initialization from physical repository init

parent a93c1a16
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -609,8 +609,7 @@ class PhysicalDataMgmt(AbstractDataMgmt):
def init_data(self, desc=None):
if os.path.exists('.obis'):
return CommandResult(returncode=-1, output="Folder is already an obis repository.")
self.settings_resolver.set_resolver_location_roots('data_set', '.')
self.settings_resolver.copy_global_to_local()
self.settings_resolver.config.copy_global_to_local()
self.settings_resolver.config.set_value_for_parameter("is_physical", True, "local")
openbis_url = self.settings_resolver.config.config_dict()['openbis_url']
self.settings_resolver.config.set_value_for_parameter("fileservice_url",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment