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
4703bd19
Commit
4703bd19
authored
Jan 25, 2020
by
LE GAC Renaud
Browse files
Update automaton to fix xrange.
parent
acbf18f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/harvest_tools/automaton.py
modules/harvest_tools/automaton.py
+1
-1
No files found.
modules/harvest_tools/automaton.py
View file @
4703bd19
...
...
@@ -352,7 +352,7 @@ class Automaton(object):
rex
=
year_end
elif
year_start
and
year_end
:
li
=
[
str
(
el
)
for
el
in
x
range
(
year_start
,
year_end
+
1
)]
li
=
[
str
(
el
)
for
el
in
range
(
year_start
,
year_end
+
1
)]
rex
=
"|"
.
join
(
li
)
dic
=
dict
(
cc
=
collection
,
# collection
...
...
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