#NEWLINE# def __init__( self , args = None , **kwds ) : #NEWLINE# #INDENT# config_dir = ( kwds . get ( 'config_dir' , None ) or PULSAR_CONFIG_DIR ) #NEWLINE# ini_path = ( kwds . get ( 'ini_path' , None ) or ( args and args . ini_path ) ) #NEWLINE# app_conf_path = ( kwds . get ( 'app_conf_path' , None ) or ( args and args . app_conf_path ) ) #NEWLINE# if ( not app_conf_path ) : #NEWLINE# #INDENT# ini_path = find_ini ( ini_path , config_dir ) #NEWLINE# ini_path = absolute_config_path ( ini_path , config_dir = config_dir ) #NEWLINE# #UNINDENT# self . config_dir = config_dir #NEWLINE# self . ini_path = ini_path #NEWLINE# self . app_conf_path = app_conf_path #NEWLINE# self . app_name = ( kwds . get ( 'app' ) or ( args and args . app ) or DEFAULT_INI_APP )