Mercurial > p > roundup > code
diff roundup/instance.py @ 6536:b78c45828e42
post_init must be called on the database
.. otherwise things set up in post_init (notably rev_multilink
properties) will be missing. Note that post_init is idempotent and can
be called multiple times.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Mon, 29 Nov 2021 11:31:14 +0100 |
| parents | 808f7a8ed2b6 |
| children | e1588ae185dc 408fd477761f |
line wrap: on
line diff
--- a/roundup/instance.py Wed Nov 24 10:53:39 2021 -0500 +++ b/roundup/instance.py Mon Nov 29 11:31:14 2021 +0100 @@ -133,6 +133,8 @@ extension(self) detectors = self.get_extensions('detectors') db = env['db'] + # *Must* call post_init! It is not an error if called multiple times. + db.post_init () db.tx_Source = None # apply the detectors
