#NEWLINE# def cleanup( self , achalls ) : #NEWLINE# #INDENT# for ( server , server_achalls ) in self . served . items ( ) : #NEWLINE# #INDENT# for achall in achalls : #NEWLINE# #INDENT# if ( achall in server_achalls ) : #NEWLINE# #INDENT# server_achalls . remove ( self ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# for ( port , server ) in six . iteritems ( self . servers . running ( ) ) : #NEWLINE# #INDENT# if ( not self . served [ server ] ) : #NEWLINE# #INDENT# self . servers . stop ( port )