0001-workflow-ignore-empty-exported-item-on-workflow-impo.patch
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 |
- |