raise MetadataFileError(msg)
if not os.access(str(file_path), os.R_OK):
- msg = _("Metadata file {!r} is readable.").format(str(file_path))
+ msg = _("Metadata file {!r} not is readable.").format(str(file_path))
raise MetadataFileError(msg)
LOG.debug(_("Reading {!r} ...").format(str(file_path)))
module_info.repo_type = 'local'
else:
msg = _(
- "PuppetfileModuleInfo for {m!r} has tag :local, but this not set to {t!r},"
+ "{c} for {m!r} has tag :local, but this not set to {t!r},"
" but {v!r} instead.").format(
- m=module_info.full_name, t='true', v=val_local)
+ c='PuppetfileModuleInfo', m=module_info.full_name, t='true', v=val_local)
LOG.warn(msg)
if 'source' in definitions: