#NEWLINE# def split_namespec( namespec ) : #NEWLINE# #INDENT# names = namespec . split ( ':' , 1 ) #NEWLINE# if ( len ( names ) == 2 ) : #NEWLINE# #INDENT# ( group_name , process_name ) = names #NEWLINE# if ( ( not process_name ) or ( process_name == '*' ) ) : #NEWLINE# #INDENT# process_name = None #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# ( group_name , process_name ) = ( namespec , namespec ) #NEWLINE# #UNINDENT# return ( group_name , process_name )