Commit 7ce9e6d6 authored by Merret Buurman's avatar Merret Buurman
Browse files

Bugfix: No error if no errata in record.

parent 38ba8bb2
......@@ -163,7 +163,10 @@ def _parse_urls_original_from_record(field_string):
def _get_errata_list_from_record(record):
field_string = get_errata_field_from_record(record)
return field_string.split(';')
if field_string is not None:
return field_string.split(';')
return None
def _parse_urls_replicas_from_record(field_string):
parsed = _extract_url_info_from_field(field_string, 'href', 'host')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment