#NEWLINE# def get_server( address , port , application ) : #NEWLINE# #INDENT# def _serve( server ) : #NEWLINE# #INDENT# server . start ( ) #NEWLINE# #UNINDENT# server = wsgiserver . CherryPyWSGIServer ( ( address , int ( port ) ) , address ) #NEWLINE# t = threading . Thread ( target = _serve , args = ( server , ) ) #NEWLINE# t . daemon = True #NEWLINE# return ( t , server )