remove deprecation warning for html escape
in python 2, (html) escape is part of the cgi module
in python 3, it's part of the html module

we now do a conditional import depending on the version, and name the
function html_escape.
1 parent 79983c0 commit 90ff69586b0579e6d059d789da9a9ad37031c372
@kakwa kakwa authored on 9 Feb 2019
Showing 1 changed file
View
ldapcherry/__init__.py