0002-workflow-allow-xml-empty-content-to-be-imported-as-b.patch
wcs/wf/export_to_model.py | ||
---|---|---|
490 | 490 |
base_filename = elem.find('base_filename').text |
491 | 491 |
content_type = elem.find('content_type').text |
492 | 492 |
if elem.find('b64_content') is not None: |
493 |
content = base64.decodestring(elem.find('b64_content').text) |
|
493 |
if elem.find('b64_content').text is not None: |
|
494 |
content = base64.decodestring(elem.find('b64_content').text) |
|
495 |
else: |
|
496 |
content = None |
|
494 | 497 |
if elem.find('content') is not None: |
495 | 498 |
content = elem.find('content').text |
496 | 499 | |
497 |
- |