mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 10:58:07 +01:00
33bbc57b5f
This is a follow-up commit for commit 6dbf103e1030494381c2fbb384f9648a78b68ce6 ("Use html.escape instead removed cgi.escape"), which breaks the python2 backward compatibility (since the "html" module is not available by default) and also breaks the code in general (due to missing html imports). The fix is based on the proposed fix in [1]. Fixes: boo#1166537 ("osc rq accept - forwarding request causes backtrace") [1] https://github.com/openSUSE/osc/pull/764