#NEWLINE# def load_workflow_config_snippet( config , filename ) : #NEWLINE# #INDENT# "Loads the ticket-workflow section from the given file (expected to be in\n    the 'workflows' tree) into the provided config.\n    " #NEWLINE# filename = resource_filename ( 'trac.ticket' , ( 'workflows/%s' % filename ) ) #NEWLINE# new_config = Configuration ( filename ) #NEWLINE# for ( name , value ) in new_config . options ( 'ticket-workflow' ) : #NEWLINE# #INDENT# config . set ( 'ticket-workflow' , name , value )