odoo-openupgrade-wizard/odoo_openupgrade_wizard/tools
Rémy Taymans 40c54d2260 [FIX] missing newline in generated files
In a proper file each line end with a newline character, even the last
one.

Wrong file:

Using `write()` function does not add a newline character at the end of
the write. So writing a string in a file with `write()` leads to a file
like this:

```
line1\n
line2\n
lastline
```

Good file:

Using the `print()` command automatically ends the string with a newline
character. So that we ends with a proper file:
```
line1\n
line2\n
lastline\n
```

Also the with statement automatically closes the file at the end of the
block.
2023-03-17 08:54:44 +01:00
..
tools_click_odoo_contrib.py [ADD][WIP] copydb (pseudo click-odoo function 2022-10-11 12:26:41 +02:00
tools_docker.py [FIX] error when killing container 2023-02-28 09:21:53 +01:00
tools_odoo_instance.py [IMP] Add postgresql custom configuration ; [ADD] extra setting into odoo_default_company key. (in config.yml file) ; [ADD] odoo_rpc_timeout extra settings ; [FIX] restore call to custom odoo.cfg file 2022-10-11 12:26:41 +02:00
tools_odoo_module.py [ADD] estimate-workload: ignored module list 2023-03-16 23:26:45 +01:00
tools_odoo.py [REF] trivial refacgtoring avoid to compute odoo_folder for each key in data.keys() 2022-11-10 20:52:40 +01:00
tools_postgres.py [IMP] Add postgresql custom configuration ; [ADD] extra setting into odoo_default_company key. (in config.yml file) ; [ADD] odoo_rpc_timeout extra settings ; [FIX] restore call to custom odoo.cfg file 2022-10-11 12:26:41 +02:00
tools_system.py [FIX] missing newline in generated files 2023-03-17 08:54:44 +01:00