Merge "Fix _find_related_obj() RuntimeError output"
This commit is contained in:
commit
209350eb52
@ -136,8 +136,8 @@ class RevisionPlugin(service_base.ServicePluginBase):
|
|||||||
if not rel.load_on_pending:
|
if not rel.load_on_pending:
|
||||||
raise RuntimeError(_("revises_on_change relationships must "
|
raise RuntimeError(_("revises_on_change relationships must "
|
||||||
"have load_on_pending set to True to "
|
"have load_on_pending set to True to "
|
||||||
"bump parent revisions on create: %s"),
|
"bump parent revisions on create: %s")
|
||||||
relationship_col)
|
% relationship_col)
|
||||||
|
|
||||||
def _clear_rev_bumped_flags(self, session):
|
def _clear_rev_bumped_flags(self, session):
|
||||||
"""This clears all flags on commit/rollback to enable rev bumps."""
|
"""This clears all flags on commit/rollback to enable rev bumps."""
|
||||||
|
Loading…
Reference in New Issue
Block a user