diff options
| author | Scott Maxwell <scott@codecobblers.com> | 2013-11-19 08:56:53 -0800 |
|---|---|---|
| committer | Scott Maxwell <scott@codecobblers.com> | 2013-11-19 08:56:53 -0800 |
| commit | 2da5f1fb4565d1e6dc72672f640dac44b122d235 (patch) | |
| tree | 341373c292485f1417933551cc5c425d17fbbd44 /paramiko/auth_handler.py | |
| parent | 7471515fffd2315f7330c5e1dd42f353982ded6c (diff) | |
| download | paramiko-2da5f1fb4565d1e6dc72672f640dac44b122d235.tar.gz | |
Use 'with' for opening most file and SFTPFIle objects
Diffstat (limited to 'paramiko/auth_handler.py')
| -rw-r--r-- | paramiko/auth_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/auth_handler.py b/paramiko/auth_handler.py index 3e389da8..5046cac5 100644 --- a/paramiko/auth_handler.py +++ b/paramiko/auth_handler.py @@ -93,7 +93,7 @@ class AuthHandler (object): self._request_auth() finally: self.transport.lock.release() - + def auth_interactive(self, username, handler, event, submethods=''): """ response_list = handler(title, instructions, prompt_list) @@ -108,7 +108,7 @@ class AuthHandler (object): self._request_auth() finally: self.transport.lock.release() - + def abort(self): if self.auth_event is not None: self.auth_event.set() |
