Group :: Development/Python3
RPM: python3-module-zope.tales
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: fix-import.patch
Download
Download
diff --git a/zope.tales/src/zope/tales/tales.py b/zope.tales/src/zope/tales/tales.py
index d5ca006..6b50d65 100644
--- a/zope.tales/src/zope/tales/tales.py
+++ b/zope.tales/src/zope/tales/tales.py
@@ -17,10 +17,7 @@ An implementation of a TAL expression engine
"""
import re
-try:
- from html import escape
-except ImportError: # pragma: PY2
- from cgi import escape
+from html import escape
from zope.interface import implementer
from zope.interface import Interface
--
2.25.2