diff roundup/backends/rdbms_common.py @ 6658:408fd477761f

Add i18n object to roundupdb.Database This makes the i18n object accessible everywhere (including in detectors where localized error messages were impossible). See issue2551184
author Ralf Schlatterbeck <rsc@runtux.com>
date Tue, 03 May 2022 14:51:59 +0200
parents 39189dd94f2c
children bdd28b244839
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py	Mon May 02 17:04:27 2022 -0400
+++ b/roundup/backends/rdbms_common.py	Tue May 03 14:51:59 2022 +0200
@@ -170,6 +170,7 @@
         """ Open the database and load the schema from it.
         """
         FileStorage.__init__(self, config.UMASK)
+        roundupdb.Database.__init__(self)
         self.config, self.journaltag = config, journaltag
         self.dir = config.DATABASE
         self.classes = {}

Roundup Issue Tracker: http://roundup-tracker.org/