Skip to content
Snippets Groups Projects

Resolve "Change the config-file handling so that the `timeout` and `itersize` entry will be correctly handled"

1 file
+ 2
14
Compare changes
  • Side-by-side
  • Inline
@@ -509,22 +509,10 @@ def command_line_interface():
if command == "local":
exposure_database_object = SpatiaLiteExposure(args.exposure_database)
elif command == "server":
exposure_db_config = {
"host": postgis_config["Exposure"]["host"],
"dbname": postgis_config["Exposure"]["dbname"],
"port": postgis_config["Exposure"]["port"],
"username": postgis_config["Exposure"]["username"],
"password": postgis_config["Exposure"]["password"],
}
exposure_db_config = dict(postgis_config["Exposure"])
exposure_database_object = PostGISExposure(**exposure_db_config)
obm_db_config = {
"host": postgis_config["OBM"]["host"],
"dbname": postgis_config["OBM"]["dbname"],
"port": postgis_config["OBM"]["port"],
"username": postgis_config["OBM"]["username"],
"password": postgis_config["OBM"]["password"],
}
obm_db_config = dict(postgis_config["OBM"])
obm_database_object = PostGISDatabase(**obm_db_config)
start_time = datetime.datetime.now()
Loading