#NEWLINE# def main( ) : #NEWLINE# #INDENT# G . __VERSION__ = '0.11' #NEWLINE# G . __PLUGIN_VERSION__ = '1.0' #NEWLINE# utils . reload_settings ( ) #NEWLINE# floo_log_level = 'msg' #NEWLINE# if G . DEBUG : #NEWLINE# #INDENT# floo_log_level = 'debug' #NEWLINE# #UNINDENT# msg . LOG_LEVEL = msg . LOG_LEVELS . get ( floo_log_level . upper ( ) , msg . LOG_LEVELS [ 'MSG' ] ) #NEWLINE# proxy = ProxyServer ( ) #NEWLINE# ( _ , port ) = reactor . reactor . listen ( proxy ) #NEWLINE# def on_ready( ) : #NEWLINE# #INDENT# print ( ( 'Now listening on %s' % port ) ) #NEWLINE# #UNINDENT# utils . set_timeout ( port , 100 ) #NEWLINE# reactor . reactor . block ( )