#NEWLINE# def configure_app( **kwargs ) : #NEWLINE# #INDENT# 'Builds up the settings using the same method as logan' #NEWLINE# sys_args = sys . argv #NEWLINE# ( args , command , command_args ) = parse_args ( sys_args [ 1 : ] ) #NEWLINE# parser = OptionParser ( ) #NEWLINE# parser . add_option ( '--config' , metavar = 'CONFIG' ) #NEWLINE# ( options , logan_args ) = parser . parse_args ( args ) #NEWLINE# config_path = options . config #NEWLINE# logan_configure ( config_path = config_path , ** command )