Skip to content
Snippets Groups Projects
Commit 1661cf53 authored by Sandy Carter's avatar Sandy Carter Committed by Denis Ledoux
Browse files

[FIX] base_action_rule: Make sure model exists before trying to wrap hooks


In certain cases, before running an update unregistered models will try to
register hooks. Trying to wrap create and write on these will cause
AttributeError on model_obj which would be None

Signed-off-by: default avatarSandy Carter <sandy.carter@savoirfairelinux.com>
parent 2b2ec074
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment