#NEWLINE# def __init__( self , app , host = None , port = 80 , prefix = None , url = None ) : #NEWLINE# #INDENT# assert app #NEWLINE# if ( ( not host ) and ( not url ) ) : #NEWLINE# #INDENT# host = str ( uuid4 ( ) ) #NEWLINE# #UNINDENT# self . app = app #NEWLINE# if url : #NEWLINE# #INDENT# self . _init_from_url ( port ) #NEWLINE# self . url = url #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . host = host #NEWLINE# self . port = int ( port ) #NEWLINE# self . script_name = ( prefix or '' ) #NEWLINE# self . url = self . _url_from_primitives ( ) #NEWLINE# #UNINDENT# self . _module = import_module ( ( '.%s' % self . MODULE_NAME ) , package = 'wsgi_intercept' )