#NEWLINE# def _find_node_handler( fields ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# driver = fields [ 'pm_type' ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise exception . InvalidNode ( 'pm_type (ironic driver to use) is required' , node = fields ) #NEWLINE# #UNINDENT# return _find_driver_handler ( driver )