#NEWLINE# def start_server( ipport , ipport2server , pids , check = True ) : #NEWLINE# #INDENT# ( server , number ) = get_server_number ( ipport , ipport2server ) #NEWLINE# err = Manager ( [ server ] ) . start ( number = number , wait = False ) #NEWLINE# if err : #NEWLINE# #INDENT# raise Exception ( ( 'unable to start %s' % ( server if ( not number ) else ( '%s%s' % ( server , number ) ) ) ) ) #NEWLINE# #UNINDENT# if check : #NEWLINE# #INDENT# return check_server ( ipport , ipport2server , server ) #NEWLINE# #UNINDENT# return None