various
This commit is contained in:
parent
842e2ca389
commit
4427470a41
|
|
@ -51,7 +51,6 @@ def init(
|
||||||
"""Initialize OpenUpgrade Wizard Environment based on the initial and
|
"""Initialize OpenUpgrade Wizard Environment based on the initial and
|
||||||
the final version of Odoo you want to migrate.
|
the final version of Odoo you want to migrate.
|
||||||
"""
|
"""
|
||||||
print(0 / 0)
|
|
||||||
|
|
||||||
# Handle arguments
|
# Handle arguments
|
||||||
if extra_repository_list:
|
if extra_repository_list:
|
||||||
|
|
|
||||||
|
|
@ -40,21 +40,21 @@ def cli_runner_invoke(cmd):
|
||||||
_logger.error("output: %s" % result.output)
|
_logger.error("output: %s" % result.output)
|
||||||
assert result.exit_code == 0
|
assert result.exit_code == 0
|
||||||
except Exception as exception:
|
except Exception as exception:
|
||||||
|
if Path("log").exists():
|
||||||
log_files = [
|
log_files = [
|
||||||
Path("log") / Path(f)
|
Path("log") / Path(f)
|
||||||
for f in os.listdir(Path("log"))
|
for f in os.listdir(Path("log"))
|
||||||
if f[-4:] == ".log"
|
if f[-4:] == ".log"
|
||||||
]
|
]
|
||||||
for log_file in log_files:
|
for log_file in log_files:
|
||||||
print("============================")
|
print("============================")
|
||||||
print(log_file)
|
print(log_file)
|
||||||
print("============================")
|
print("============================")
|
||||||
_f = open(log_file)
|
_f = open(log_file)
|
||||||
print(_f.read())
|
print(_f.read())
|
||||||
_f.close()
|
_f.close()
|
||||||
print("============================")
|
print("============================")
|
||||||
raise exception
|
raise exception
|
||||||
|
|
||||||
|
|
||||||
def build_ctx_from_config_file() -> dict:
|
def build_ctx_from_config_file() -> dict:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user