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
94e19641
Commit
94e19641
authored
Feb 28, 2020
by
LE GAC Renaud
Browse files
Update controllers/harvest/edit_insert to fix bugs.
parent
c5b5a0fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
controllers/harvest.py
controllers/harvest.py
+6
-6
No files found.
controllers/harvest.py
View file @
94e19641
...
...
@@ -190,7 +190,7 @@ def edit_insert():
check
.
get_my_authors
(
record
,
sort
=
True
)
except
CheckException
as
e
:
logg
ing
.
debug
(
str
(
e
))
logg
er
.
debug
(
str
(
e
))
pass
fauthor
=
record
.
first_author
()
...
...
@@ -208,7 +208,7 @@ def edit_insert():
"collaboration"
,
record
.
collaboration
())
except
ToolException
as
e
:
logg
ing
.
debug
(
str
(
e
))
logg
er
.
debug
(
str
(
e
))
pass
values
[
"PublicationsId_collaborations"
]
=
int
(
recId
)
...
...
@@ -244,7 +244,7 @@ def edit_insert():
record
.
paper_editor
())
except
ToolException
as
e
:
logg
ing
.
debug
(
str
(
e
))
logg
er
.
debug
(
str
(
e
))
pass
values
[
"PublicationsId_publishers"
]
=
int
(
recId
)
...
...
@@ -262,7 +262,7 @@ def edit_insert():
check
.
conference_date
(
record
)
except
CheckException
as
e
:
logg
ing
.
debug
(
str
(
e
))
logg
er
.
debug
(
str
(
e
))
pass
if
isinstance
(
record
,
RecordConf
):
...
...
@@ -285,7 +285,7 @@ def edit_insert():
record
.
conference_country
())
except
ToolException
as
e
:
logg
ing
.
debug
(
str
(
e
))
logg
er
.
debug
(
str
(
e
))
pass
values
[
"PublicationsId_countries"
]
=
int
(
recId
)
...
...
@@ -310,7 +310,7 @@ def edit_insert():
try
:
check
.
submitted
(
record
)
except
CheckException
as
e
:
except
(
CheckException
,
ToolException
)
as
e
:
logger
.
debug
(
str
(
e
))
pass
...
...
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