diff --git a/paramiko/auth_handler.py b/paramiko/auth_handler.py index da551af..57f25fa 100644 --- a/paramiko/auth_handler.py +++ b/paramiko/auth_handler.py @@ -63,9 +63,6 @@ class AuthHandler (object): else: return self.username - def get_banner(self): - return self.banner - def auth_none(self, username, event): self.transport.lock.acquire() try: diff --git a/paramiko/transport.py b/paramiko/transport.py index 127635e..cc81ed7 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -1102,7 +1102,7 @@ class Transport (threading.Thread): """ if not self.active or (self.auth_handler is None): return None - return self.auth_handler.get_banner() + return self.auth_handler.banner def auth_none(self, username): """