Skip to content

Commit

Permalink
Get the current production OVAL documents
Browse files Browse the repository at this point in the history
  • Loading branch information
javihernandez committed Oct 16, 2024
1 parent 7dafc9c commit f72780c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rhel_oval_deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from alws import models
from alws.config import settings
from alws.constants import ErrataReleaseStatus
from alws.crud.errata import get_new_oval_xml, get_packages_for_oval
from alws.crud.errata import get_oval_xml
from alws.dependencies import get_async_db_key
from alws.utils.fastapi_sqla_setup import setup_all

Expand All @@ -39,7 +39,7 @@
async def get_platform_oval_data(
session: AsyncSession, platform_name: str
) -> dict:
xml_string = await get_new_oval_xml(session, platform_name, True)
xml_string = await get_oval_xml(session, platform_name, True)
oval = Composer.load_from_string(xml_string)
oval_dict = oval.as_dict()
return oval_dict
Expand Down

0 comments on commit f72780c

Please sign in to comment.