Mercurial > p > roundup > code
diff roundup/backends/back_anydbm.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 | f08907bfd5a1 |
| children | 3f60a71b0812 |
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py Mon May 02 17:04:27 2022 -0400 +++ b/roundup/backends/back_anydbm.py Tue May 03 14:51:59 2022 +0200 @@ -90,6 +90,7 @@ disabled. """ FileStorage.__init__(self, config.UMASK) + roundupdb.Database.__init__(self) self.config, self.journaltag = config, journaltag self.dir = config.DATABASE self.classes = {}
