Lines Matching refs:errors
779 """Returns a tuple of lists of the form (errors, warnings,
789 errors = []
820 errors.append(("mode", _("mode is required; "
824 errors.append(("mode", _("mode may only be "
827 errors.append(("mode", _("'{0}' is not a valid "
834 errors.append(("owner", _("owner may only be specified "
840 errors.append(("group", _("group may only be specified "
843 return errors
943 errors = []
972 errors.append(_("Owner: {0} is unknown").format(
980 errors.append(_("Group: {0} is unknown ").format(
995 return (lstat, errors, warnings, info,
997 errors.append(
1001 errors.append(_("Skipping: Permission denied"))
1003 errors.append(
1008 return lstat, errors, warnings, info, abort
1011 errors.append(_("File Type: '{found}' should be "
1018 errors.append(_("Owner: '{found_name} "
1027 errors.append(_("Group: '{found_name} "
1036 errors.append(_("Mode: {found} should be "
1040 return lstat, errors, warnings, info, abort
1186 'raise_errors' is a boolean indicating whether errors should be
1194 errors = []
1199 errors.append((attr, _("{0} may only be "
1205 errors.append((attr, _("{0} must be an "
1212 errors.append((attr,
1215 if raise_errors and errors:
1217 errors, fmri=fmri)
1218 return errors