Projet

Général

Profil

0001-misc-ignore-empty-functions-in-formdata-57439.patch

Emmanuel Cazenave, 30 septembre 2021 17:04

Télécharger (769 octets)

Voir les différences:

Subject: [PATCH] misc: ignore empty functions in formdata (#57439)

 wcs/variables.py | 2 ++
 1 file changed, 2 insertions(+)
wcs/variables.py
510 510

  
511 511
        d = {}
512 512
        for role_type, role_id in workflow_roles.items():
513
            if not role_id:
514
                continue
513 515
            prefix = '%s_' % role_type.replace('-', '_').strip('_')
514 516
            if isinstance(role_id, list):
515 517
                # only return first role
516
-