The forced variable is declared in an if else statement and then used later in the send_notifications function call, meaning that in one case we hit the following error local variable 'forced' referenced before assignment
Second commit makes sure that the project.fedmsg_hook exists before trying to get the value of active
The
forcedvariable is declared in anif elsestatement and then used later in thesend_notificationsfunction call, meaning that in one case we hit the following errorlocal variable 'forced' referenced before assignmentSecond commit makes sure that the
project.fedmsg_hookexists before trying to get the value ofactiveSigned-off-by: Clement Verna cverna@tutanota.com