Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with closing the session in remote debugging #450

Merged
merged 4 commits into from
May 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove bad quotes
  • Loading branch information
mlubimow committed May 13, 2021
commit a582fb8cc6bb0f68aed8be25a0f6f25209ccdfda
4 changes: 2 additions & 2 deletions pudb/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ class Debugger(bdb.Bdb):
def __init__(self, stdin=None, stdout=None, term_size=None, steal_output=False,
**kwargs):

if self.is_remote and not hasattr(self, 'close_remote_session'):
if self.is_remote and not hasattr(self, "close_remote_session"):
raise RuntimeError(
'Remote debuggers need to implement close_remote_session')
"Remote debuggers need to implement close_remote_session")

# Pass remaining kwargs to python debugger framework
bdb.Bdb.__init__(self, **kwargs)
Expand Down