Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
1db1e932
Commit
1db1e932
authored
Jul 05, 2016
by
LE GAC Renaud
Browse files
Update Record._get to fix a missing case.
parent
cb34d638
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/invenio_tools/record.py
modules/invenio_tools/record.py
+4
-1
No files found.
modules/invenio_tools/record.py
View file @
1db1e932
...
...
@@ -73,7 +73,10 @@ class Record(dict):
val
=
[]
for
el
in
self
[
field
]:
if
subfield
in
el
:
val
.
append
(
el
[
subfield
])
if
isinstance
(
el
[
subfield
],
list
):
val
.
extend
(
el
[
subfield
])
else
:
val
.
append
(
el
[
subfield
])
if
force_list
and
not
isinstance
(
val
,
list
):
if
val
:
...
...
Write
Preview
Markdown
is supported
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