#2001 remove usage of deprecated cgi.escape function
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji issue1887  into  master

Download 2001.patch

Fixes: https://pagure.io/koji/issue/1887

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

rewritten #1885, thanks to @mbelluzzo for pointing it out.

:thumbsup:

:thumbsup:

There was an unused reference to cgi module on 'taskinfo'. My original PR removed that as well. I don't see it on this one but I also didn't follow if it was done by any other previous PR.

Sorry, I'm not following this closely, but may be worth to double check since it was causing an import error even that unused when I tested.

yep, it is already gone. Only place, where cgi module is used is in wsgi_publisher cgi.FieldStorage and it still works in py3.9

Commit b6ea023c fixes this pull-request

Pull-Request has been merged by tkopecek

Awesome! Thank you!

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

Metadata