From 7ce8e4fc9c9d211f0fa7a4c7c0b85983a65c8cea Mon Sep 17 00:00:00 2001 From: Shoshkin Date: Wed, 5 Jan 2022 17:55:37 +0200 Subject: [PATCH] Fix syntax error exception on python 2.7 --- voltron/plugins/debugger/dbg_lldb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voltron/plugins/debugger/dbg_lldb.py b/voltron/plugins/debugger/dbg_lldb.py index 7438539..5d98a36 100644 --- a/voltron/plugins/debugger/dbg_lldb.py +++ b/voltron/plugins/debugger/dbg_lldb.py @@ -576,7 +576,7 @@ def register_hooks(self, quiet=False): log.debug("Saving hook index for unregistering.") self.hook_idx = int(output.split()[2][1:]) except Exception as e: - log.warning(f"Exception when saving hook index for unregistering. {e}") + log.warning("Exception when saving hook index for unregistering. {}".format(e)) pass self.registered = True if not quiet: