changeset 3075:501a1a3c8594

plugin text syntaxes: don't use anymore deprecated cgi.escape
author Goffi <goffi@goffi.org>
date Mon, 18 Nov 2019 20:50:34 +0100
parents c2625920e05a
children 2180b0f5c1cd
files sat/plugins/plugin_misc_text_syntaxes.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_text_syntaxes.py	Fri Nov 15 17:57:49 2019 +0100
+++ b/sat/plugins/plugin_misc_text_syntaxes.py	Mon Nov 18 20:50:34 2019 +0100
@@ -18,7 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 import re
-from cgi import escape
+from html import escape
 from functools import partial
 from sat.core.i18n import _, D_
 from sat.core.constants import Const as C