#NEWLINE# @ classmethod #NEWLINE# def FromConfig( klass , config ) : #NEWLINE# #INDENT# items = [ ] #NEWLINE# for candidate in config . sections ( ) : #NEWLINE# #INDENT# if candidate . startswith ( klass . prefix ) : #NEWLINE# #INDENT# for ( name , command ) in config . items ( candidate ) : #NEWLINE# #INDENT# report = klass ( name = candidate , command = command ) #NEWLINE# items . append ( report ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return items