We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b26162 commit 65d6b91Copy full SHA for 65d6b91
roundup/backends/sessions_dbm.py
@@ -8,7 +8,11 @@
8
9
import os, marshal, time
10
11
-from cgi import escape
+try:
12
+ from html import escape
13
+except ImportError:
14
+ from cgi import escape
15
+
16
from roundup import hyperdb
17
from roundup.i18n import _
18
from roundup.anypy.dbm_ import anydbm, whichdb
roundup/backends/sessions_rdbms.py
@@ -6,7 +6,11 @@
6
"""
7
__docformat__ = 'restructuredtext'
import os, time, logging
class BasicDatabase:
''' Provide a nice encapsulation of an RDBMS table.
0 commit comments