This commit is contained in:
Sylvain LE GAL 2022-06-29 17:46:58 +02:00
parent 842e2ca389
commit 4427470a41
2 changed files with 15 additions and 16 deletions

View File

@ -51,7 +51,6 @@ def init(
"""Initialize OpenUpgrade Wizard Environment based on the initial and
the final version of Odoo you want to migrate.
"""
print(0 / 0)
# Handle arguments
if extra_repository_list:

View File

@ -40,21 +40,21 @@ def cli_runner_invoke(cmd):
_logger.error("output: %s" % result.output)
assert result.exit_code == 0
except Exception as exception:
log_files = [
Path("log") / Path(f)
for f in os.listdir(Path("log"))
if f[-4:] == ".log"
]
for log_file in log_files:
print("============================")
print(log_file)
print("============================")
_f = open(log_file)
print(_f.read())
_f.close()
print("============================")
raise exception
if Path("log").exists():
log_files = [
Path("log") / Path(f)
for f in os.listdir(Path("log"))
if f[-4:] == ".log"
]
for log_file in log_files:
print("============================")
print(log_file)
print("============================")
_f = open(log_file)
print(_f.read())
_f.close()
print("============================")
raise exception
def build_ctx_from_config_file() -> dict: