Skip to content

cgi module is deprecated  #2

@jamie-chang-globality

Description

@jamie-chang-globality

See the following deprecation warnin

deboiler/models/lxml_node.py:1: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi

cgi is only used once:

        text = cgi.html.unescape(text)  # type: ignore

This should be replaced with the html module and html.unescape

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions