Commit 4703bd19 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update automaton to fix xrange.

parent acbf18f5
......@@ -352,7 +352,7 @@ class Automaton(object):
rex = year_end
elif year_start and year_end:
li = [str(el) for el in xrange(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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment