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
25d0fab9
Commit
25d0fab9
authored
Jan 13, 2021
by
LE GAC Renaud
Browse files
Update Articles and MsgCollection to use super()
parent
ec43e308
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/harvest_tools/articles.py
modules/harvest_tools/articles.py
+1
-1
modules/harvest_tools/msgcollection.py
modules/harvest_tools/msgcollection.py
+1
-1
No files found.
modules/harvest_tools/articles.py
View file @
25d0fab9
...
...
@@ -24,7 +24,7 @@ class Articles(Automaton):
def
__init__
(
self
,
*
args
,
**
kwargs
):
Automaton
.
__init__
(
self
,
*
args
,
**
kwargs
)
super
()
.
__init__
(
*
args
,
**
kwargs
)
# the preprint categories
self
.
id_preprint
=
get_id
(
self
.
db
.
categories
,
code
=
"PRE"
)
...
...
modules/harvest_tools/msgcollection.py
View file @
25d0fab9
...
...
@@ -23,7 +23,7 @@ class MsgCollection(Storage):
"""
def
__init__
(
self
,
error
=
""
,
found
=
0
,
title
=
""
,
url
=
""
):
Storage
.
__init__
(
self
)
super
()
.
__init__
()
self
.
error
=
error
self
.
found
=
found
self
.
title
=
title
...
...
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