diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-03-01 22:59:32 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-03-01 22:59:32 +0200 |
commit | 7e0e513cf05b88f6e13ce93f49c80159507feca5 (patch) | |
tree | 75413200fee678886445878c338fd9804f135015 | |
parent | start work on 0.10.29 (diff) | |
download | pkgcheck-7e0e513cf05b88f6e13ce93f49c80159507feca5.tar.gz pkgcheck-7e0e513cf05b88f6e13ce93f49c80159507feca5.tar.bz2 pkgcheck-7e0e513cf05b88f6e13ce93f49c80159507feca5.zip |
PkgBadlyFormedXml: convert to error
Resolves: https://github.com/pkgcore/pkgcheck/issues/668
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | src/pkgcheck/checks/metadata_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgcheck/checks/metadata_xml.py b/src/pkgcheck/checks/metadata_xml.py index fb574c0e..cfba70c8 100644 --- a/src/pkgcheck/checks/metadata_xml.py +++ b/src/pkgcheck/checks/metadata_xml.py @@ -28,7 +28,7 @@ class _MissingXml(results.Error): return f"{self._attr} is missing {self.filename}" -class _BadlyFormedXml(results.Warning): +class _BadlyFormedXml(results.Error): """XML isn't well formed.""" def __init__(self, filename, error, **kwargs): |