Skip to content
Snippets Groups Projects

Resolve "Support for migration to a new silecs version"

Merged m.nabywaniec requested to merge 58-silecs-migrate into master
All threads resolved!
@@ -128,14 +128,6 @@ class MigrationBase(object):
context.saveTo(fd)
class MigrationAny(MigrationBase):
def __init__(self, silecsDocument, xmlSchema, versionOld, versionNew):
super(MigrationAny, self).__init__(silecsDocument, xmlSchema, versionOld, versionNew)
def dummy(self):
#doNothing
print("dummy")
def main_parse():
arguments = ParseMigrationArgs.parse_arguments()
@@ -145,7 +137,7 @@ def main_parse():
arguments.versionNew)
def run_migrate(silecsDocument, xmlSchema, versionOld, versionNew):
migration = MigrationAny(silecsDocument, xmlSchema, versionOld, versionNew)
migration = MigrationBase(silecsDocument, xmlSchema, versionOld, versionNew)
migration.migrate()
if __name__ == "__main__":
Loading