#NEWLINE# def _get_all_users( self , domain_id ) : #NEWLINE# #INDENT# if ( not domain_id ) : #NEWLINE# #INDENT# users = self . users . list ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# users = [ user for user in self . users . list ( ) if ( user . domain_id == domain_id ) ] #NEWLINE# #UNINDENT# return users