Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Merret Buurman
pidlandingpage
Commits
7ce9e6d6
Commit
7ce9e6d6
authored
Jun 06, 2016
by
Merret Buurman
Browse files
Bugfix: No error if no errata in record.
parent
38ba8bb2
Changes
1
Show whitespace changes
Inline
Side-by-side
landingpage/landingpageapp/handle/cmip6parser.py
View file @
7ce9e6d6
...
...
@@ -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
)
if
field_string
is
not
None
:
return
field_string
.
split
(
';'
)
else
:
return
None
def
_parse_urls_replicas_from_record
(
field_string
):
parsed
=
_extract_url_info_from_field
(
field_string
,
'href'
,
'host'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment