From 5fea307fd7de3e2635d8379db658acba9c932af8 Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 10 May 2021 15:30:47 +0200 Subject: [PATCH] Fixed quotes --- EDMCLogging.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/EDMCLogging.py b/EDMCLogging.py index 93f0b1c5..4aa3d0c7 100644 --- a/EDMCLogging.py +++ b/EDMCLogging.py @@ -385,17 +385,17 @@ class EDMCContextFilter(logging.Filter): module_name = cls.munge_module_name(frame_info, module_name) except Exception as e: - print("ALERT! Something went VERY wrong in handling finding info to log") - print("ALERT! Information is as follows") + print('ALERT! Something went VERY wrong in handling finding info to log') + print('ALERT! Information is as follows') with suppress(Exception): - print(f"ALERT! {e=}") + print(f'ALERT! {e=}') print_exc() - print(f"ALERT! {frame=}") + print(f'ALERT! {frame=}') with suppress(Exception): - print(f"ALERT! {fn=}") # type: ignore + print(f'ALERT! {fn=}') # type: ignore with suppress(Exception): - print(f"ALERT! {cls=}") + print(f'ALERT! {cls=}') finally: # Ensure this always happens # https://docs.python.org/3.7/library/inspect.html#the-interpreter-stack