#NEWLINE# def set_active_config( self , config_name ) : #NEWLINE# #INDENT# ' Set the active configuration. This should match an\n        existing config name\n\n        Used when running ``qibuild configure -c <config>``\n\n        ' #NEWLINE# self . qibuild_cfg . read ( ) #NEWLINE# self . active_build_config = self . qibuild_cfg . configs . get ( config_name ) #NEWLINE# if ( not self . active_build_config ) : #NEWLINE# #INDENT# raise qisys . error . Error ( ( 'No such build config: %s' % config_name ) ) #NEWLINE# #UNINDENT# self . qibuild_cfg . set_active_config ( config_name ) #NEWLINE# if self . active_build_config : #NEWLINE# #INDENT# self . _profiles = config_name . active_build_config . profiles #NEWLINE# self . parse_profiles ( )