Projet

Général

Profil

0001-workflows-do-not-crash-performing-None-items-66878.patch

Frédéric Péters, 01 juillet 2022 18:00

Télécharger (824 octets)

Voir les différences:

Subject: [PATCH] workflows: do not crash performing None items (#66878)

 wcs/workflows.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/workflows.py
84 84
    url = None
85 85
    old_status = formdata.status
86 86
    performed_actions = []
87
    for item in items:
87
    for item in items or []:
88 88
        if getattr(item.perform, 'noop', False):
89 89
            continue
90 90
        if not item.check_condition(formdata):
91
-