#NEWLINE# @ staticmethod #NEWLINE# def _get_min_max_ports_from_range( port_range ) : #NEWLINE# #INDENT# if ( not port_range ) : #NEWLINE# #INDENT# return [ None , None ] #NEWLINE# #UNINDENT# ( min_port , sep , max_port ) = port_range . partition ( ':' ) #NEWLINE# if ( not max_port ) : #NEWLINE# #INDENT# max_port = min_port #NEWLINE# #UNINDENT# return [ int ( min_port ) , int ( max_port ) ]