#1885 Remove usage deprecated cgi function
Closed by tkopecek. Opened by mbelluzzo.
mbelluzzo/koji python-3.8  into  master

Download 1885.patch

Changes should work for most of Python3.X versions out there and should cause no change on behaviour, but those changes are required to have koji properly working with Python3.8 since in there the function is actually gone.

does the html.escape() method exist in Python 2? I don't think it does...

Hmm .. don't think so. But Python2 itself is to be EOLed by end of this month.

How is that being handled by this project?

Py 2.7 doesn't even have html module in system lib.

Anyway, it seems, that we've escapeHTML in utils, which does exactly what cgi.escape does, so we can replace them.

(created issue for this #1887)

pretty please pagure-ci rebuild

Obsoleted by #2001

Pull-Request has been closed by tkopecek

Metadata