Skip to content

Commit 7482ac1

Browse files
committed
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.
1 parent d482ffb commit 7482ac1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roundup/instance.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def open(self, name=None):
133133
extension(self)
134134
detectors = self.get_extensions('detectors')
135135
db = env['db']
136+
# *Must* call post_init! It is not an error if called multiple times.
137+
db.post_init ()
136138
db.tx_Source = None
137139

138140
# apply the detectors

0 commit comments

Comments
 (0)