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
|
||||
the final version of Odoo you want to migrate.
|
||||
"""
|
||||
print(0 / 0)
|
||||
|
||||
# Handle arguments
|
||||
if extra_repository_list:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user