Skip to content
Snippets Groups Projects
Commit ee35ce14 authored by Nabywaniec's avatar Nabywaniec Committed by m.nabywaniec
Browse files

Modify versions to migrate if no specific migration module found

parent 36ceaa51
No related branches found
No related tags found
1 merge request!4Resolve "Support for migration to a new silecs version"
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
......@@ -609,7 +609,7 @@ def silecs_migrate(project_path, new_version):
print(f"There is no Migration Script for an update from: {old_version} to {new_version}\n" \
f"Using generic migration-script. Only basic xml-version strings will be changed.\n")
module = __import__("migrationBase")
module.run_migrate(silecs_filepath, new_xml_schema, version_from, version_to)
module.run_migrate(silecs_filepath, new_xml_schema, old_version, new_version)
except Exception as e:
print(e)
......
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