def _check_load_paths(load_path):
 if ((load_path is None) or (not isinstance(load_path, six.string_types))):
  return None
 _paths = []
 for _path in load_path.split(':'):
  if (os.path.isabs(_path) and os.path.isdir(_path)):
   _paths.append(_path)
  else:
   log.info('Invalid augeas_cfg load_path entry: %s removed', _path)
 if (len(_paths) == 0):
  return None
 return ':'.join(_paths)

def _check_load_paths ( load_path ) : if ( ( load_path is None ) or ( not isinstance ( load_path , six . string_types ) ) ) : return None _paths = [ ] for _path in load_path . split ( ':' ) : if ( os . path . isabs ( _path ) and os . path . isdir ( _path ) ) : _paths . append ( _path ) else : log . info ( 'Invalid augeas_cfg load_path entry: %s removed' , _path ) if ( len ( _paths ) == 0 ) : return None return ':' . join ( _paths )
checks the validity of the load_path .