Skip to content

Commit

Permalink
Fix syntax error exception on python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoshkin authored and Your Name committed Jan 5, 2022
1 parent d9fef0b commit 8efb719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voltron/plugins/debugger/dbg_lldb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8efb719

Please sign in to comment.