Not a fan of pointless getters.

This commit is contained in:
Jeff Forcier 2014-02-11 15:02:58 -08:00
parent 3e87f4aa27
commit 725b96c0ae
2 changed files with 1 additions and 4 deletions

View File

@ -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:

View File

@ -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):
"""