#NEWLINE# def installReactor( shortName ) : #NEWLINE# #INDENT# '\n    Install the reactor with the given C{shortName} attribute.\n\n    @raise NoSuchReactor: If no reactor is found with a matching C{shortName}.\n\n    @raise: anything that the specified reactor can raise when installed.\n    ' #NEWLINE# for installer in getReactorTypes ( ) : #NEWLINE# #INDENT# if ( installer . shortName == shortName ) : #NEWLINE# #INDENT# return installer . install ( ) #NEWLINE# #UNINDENT# #UNINDENT# raise NoSuchReactor ( shortName )