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
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
limbra
limbra
Commits
05432dd7
Commit
05432dd7
authored
Jan 18, 2021
by
LE GAC Renaud
Browse files
Improve RecordCdsConfPaper._process_conference_data
parent
8c67dc7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
modules/store_tools/recordcdsconfpaper.py
modules/store_tools/recordcdsconfpaper.py
+11
-1
tests/issues/test_60_acti.py
tests/issues/test_60_acti.py
+0
-0
No files found.
modules/store_tools/recordcdsconfpaper.py
View file @
05432dd7
...
...
@@ -117,7 +117,17 @@ class RecordCdsConfPaper(RecordCdsPubli, ConfMixin):
return
city
,
country
=
data
.
get
(
"location"
,
","
).
split
(
","
)
url
=
recjson
.
get
(
"url"
,
{}).
get
(
"url"
,
None
)
# extract conference URL
obj
=
recjson
.
get
(
"url"
,
{})
if
isinstance
(
obj
,
dict
):
url
=
recjson
.
get
(
"url"
,
{}).
get
(
"url"
,
None
)
elif
isinstance
(
obj
,
list
):
for
dct
in
obj
:
if
dct
.
get
(
"description"
,
""
)
==
"Conference home page"
:
url
=
dct
[
"url"
]
break
dct
=
{
"addresses"
:
[{
...
...
tests/issues/test_acti.py
→
tests/issues/test_
60_
acti.py
View file @
05432dd7
File moved
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