Fix of the fix.

This commit is contained in:
Matěj Týč 2019-12-09 15:21:26 +01:00
parent f06ce423ea
commit c66c409015
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,7 @@ index 7da807bd68..13e90f7327 100644
+ # We can't rely on ElementTree sorting XML attrs in any way since Python 3.7.
remediation_functions = re.findall(
- r'<Value hidden=\"true\" id=\"function_(\S+)\"',
+ r'<Value.*id=\"function_(\S+)\"',
+ r'<Value[^>]*id=\"function_(\S+)\"',
filestring, re.DOTALL
)

View File

@ -1,6 +1,6 @@
Name: scap-security-guide
Version: 0.1.47
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Security guidance and baselines in SCAP formats
License: BSD-3-Clause
URL: https://github.com/ComplianceAsCode/content/
@ -64,6 +64,8 @@ cd build
%doc %{_docdir}/%{name}/tables/*.html
%changelog
* Mon Dec 09 2019 Matěj Týč <matyc@redhat.com> - 0.1.47-2
- Hotfix of the XML parsing fix.
* Mon Dec 09 2019 Matěj Týč <matyc@redhat.com> - 0.1.47-1
- Update to latest upstream SCAP-Security-Guide-0.1.47 release: