-
-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use html.escape() instead of cgi.escape()
Python 3.2+ deprecated cgi.escape() for html.escape(). And in 3.8 cgi.escape() has been completely removed. This patch conditional makes use of html.escape() for 3.2 and higher. Fixes issue #338 Signed-off-by: Eric Brown <browne@vmware.com>
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters