#NEWLINE# def detach_client( self , cli ) : #NEWLINE# #INDENT# '\n        Detach the client that belongs to this CLI.\n        ' #NEWLINE# connection = self . get_connection_for_cli ( cli ) #NEWLINE# if ( connection is not None ) : #NEWLINE# #INDENT# connection . detach_and_close ( ) #NEWLINE# #UNINDENT# self . invalidate ( )