move log = _logger to top
This commit is contained in:
1 parent
2f6725a903
commit
61da567070
1 file changed
+4
-2
+4
-2
@@ -56,6 +56,9 @@ _stdout_handler.setFormatter(
|
||||
)
|
||||
_logger.addHandler(_stdout_handler)
|
||||
|
||||
# finally create the log
|
||||
log = _logger
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
# Data model
|
||||
# --------------------------------------------------------------------------- #
|
||||
@@ -359,8 +362,7 @@ if __name__ == "__main__":
|
||||
result_summary = " | ".join(parts)
|
||||
log.info(f" {result_summary}")
|
||||
|
||||
# finally create the log
|
||||
log = _logger
|
||||
|
||||
|
||||
# This is the structure of test_results
|
||||
# [
|
||||
|
||||
Reference in new issue
Block a user