diff options
Diffstat (limited to 'sysutils/azure-agent/files/patch-azurelinuxagent_common_utils_textutil.py')
-rw-r--r-- | sysutils/azure-agent/files/patch-azurelinuxagent_common_utils_textutil.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/azure-agent/files/patch-azurelinuxagent_common_utils_textutil.py b/sysutils/azure-agent/files/patch-azurelinuxagent_common_utils_textutil.py new file mode 100644 index 000000000000..259f5a052c59 --- /dev/null +++ b/sysutils/azure-agent/files/patch-azurelinuxagent_common_utils_textutil.py @@ -0,0 +1,11 @@ +--- azurelinuxagent/common/utils/textutil.py.orig 2024-08-20 23:23:16 UTC ++++ azurelinuxagent/common/utils/textutil.py +@@ -445,7 +445,7 @@ def format_exception(exception): + if tb is None or (sys.version_info[0] == 2 and e != exception): + msg += "[Traceback not available]" + else: +- msg += ''.join(traceback.format_exception(etype=type(exception), value=exception, tb=tb)) ++ msg += ''.join(traceback.format_exception(type(exception), value=exception, tb=tb)) + + return msg + |