#NEWLINE# def set_user( self , client ) : #NEWLINE# #INDENT# ' Add the client (or create) appropriate worker and address trackers\n        ' #NEWLINE# user_worker = ( client . address , client . worker ) #NEWLINE# self . address_worker_lut . setdefault ( user_worker , [ ] ) #NEWLINE# self . address_worker_lut [ user_worker ] . append ( client ) #NEWLINE# self . authed_clients += 1 #NEWLINE# self . address_lut . setdefault ( user_worker [ 0 ] , [ ] ) #NEWLINE# self . address_lut [ user_worker [ 0 ] ] . append ( self )