def get_yaml_entry(yaml_dict, name):
 entry = yaml_dict.get(name)
 if (entry is None):
  return None
 if isinstance(entry, basestring):
  return [entry]
 return entry

def get_yaml_entry ( yaml_dict , name ) : entry = yaml_dict . get ( name ) if ( entry is None ) : return None if isinstance ( entry , basestring ) : return [ entry ] return entry
get entry name from dict yaml_dict parameters yaml_dict : dict dict or subdict from parsing .