Projet

Général

Profil

0001-workflow-ignore-empty-exported-item-on-workflow-impo.patch

Nicolas Roche, 26 août 2019 18:17

Télécharger (877 octets)

Voir les différences:

Subject: [PATCH 1/2] workflow: ignore empty exported item on workflow import
 (#31823)

 wcs/workflows.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/workflows.py
832 832
                continue
833 833
            if list(el):
834 834
                if type(getattr(self, attribute)) is list:
835
                    v = [x.text.encode(charset) for x in el]
835
                    v = [x.text.encode(charset) for x in el if x]
836 836
                elif type(getattr(self, attribute)) is dict:
837 837
                    v = {}
838 838
                    for e in el:
839
-