Not a fan of pointless getters.
This commit is contained in:
parent
3e87f4aa27
commit
725b96c0ae
|
@ -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:
|
||||
|
|
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue