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...
html.escape()
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.
html
Anyway, it seems, that we've escapeHTML in utils, which does exactly what cgi.escape does, so we can replace them.
escapeHTML
cgi.escape
(created issue for this #1887)
pretty please pagure-ci rebuild
Obsoleted by #2001
Pull-Request has been closed by tkopecek
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.