#NEWLINE# def _load_data( data_type , name = None ) : #NEWLINE# #INDENT# "Loads the kitchen's node files" #NEWLINE# _check_kitchen ( ) #NEWLINE# if ( data_type not in [ 'node' , 'nodes' , 'roles' ] ) : #NEWLINE# #INDENT# log . error ( "Unsupported data type '{0}'" . format ( data_type ) ) #NEWLINE# return None #NEWLINE# #UNINDENT# return _data_loader ( data_type , name )