viur_migrate
¶
Naive ViUR3 project porting script with a simple search & replace mechanism using lookup table.
Replace the old conf[“dict-key”] syntax with the new conf.attribute syntax, which was introduced in #833.
Module Contents¶
Functions¶
|
Performs the conversion on a file with the provided options. |
|
Attributes¶
- viur_migrate.lookup¶
- viur_migrate.old_expr¶
- viur_migrate.replace_in_file(args, file)¶
Performs the conversion on a file with the provided options.
- Parameters:
args (argparse.Namespace) –
file (pathlib.Path) –
- viur_migrate.main()¶