Tool for checking common errors in RPM packages
Go to file
Michal Domonkos 466781fc37 Handle missing language error during spellcheck
Previously, PyEnchant raised a DictNotFoundError from the SpellChecker
constructor in case it didn't find the given language.  This was
recently[1] changed/fixed upstream to actually handle that error in the
constructor and then raise a DefaultLanguageNotFoundError instead.
Adapt our code to it but also keep handling the previous error, just in
case.

Note that this was never fixed in rpmlint upstream since that has moved
on and rewritten quite a bit of the codebase, fixing this traceback in
the process, hence a downstream-only patch here.

[1] commit 5fc8ecc458b7b84d88ce629f74905549790141ee at:
    https://github.com/pyenchant/pyenchant/

Resolves: #1929210
2022-01-11 16:50:45 +01:00
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00
gating.yaml Add RHEL gating configuration 2021-07-15 03:26:35 +02:00
rpmlint-1.10-suppress-locale-error.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00
rpmlint-1.11-libc-warnings.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00
rpmlint-1.11-no-python-macro.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00
rpmlint-1.11-rpm4.15.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00
rpmlint-1.11-spellcheck-handle-missing-language-error.patch Handle missing language error during spellcheck 2022-01-11 16:50:45 +01:00
rpmlint-CHANGES.package.old RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00
rpmlint-etc.config RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00
rpmlint.config Merged update from upstream sources 2021-01-25 21:26:09 +00:00
rpmlint.spec Handle missing language error during spellcheck 2022-01-11 16:50:45 +01:00
sources RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:52:49 -07:00