##// END OF EJS Templates
webutils: monkeypatch to make webhelpers2 work with Python 3.10...
Mads Kiilerich -
r8701:626644bc stable
parent child Browse files
Show More
@@ -20,6 +20,7 b' thread-local "global" variables. It shou'
20 imported anywhere - just like the global variables can be used everywhere.
20 imported anywhere - just like the global variables can be used everywhere.
21 """
21 """
22
22
23 import collections
23 import datetime
24 import datetime
24 import json
25 import json
25 import logging
26 import logging
@@ -66,6 +67,10 b' assert truncate'
66 assert wrap_paragraphs
67 assert wrap_paragraphs
67
68
68
69
70 # work around webhelpers2 being a dead project that doesn't support Python 3.10
71 collections.Sequence = collections.abc.Sequence
72
73
69 #
74 #
70 # General Kallithea URL handling
75 # General Kallithea URL handling
71 #
76 #
General Comments 0
You need to be logged in to leave comments. Login now