summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/jstor.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-22 14:03:02 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-22 14:03:02 -0700
commitdc53c673dd28a325e47659835015e31e8d345692 (patch)
tree46f356ac79a1081705520a9b828cd24e7dae7723 /python/fatcat_tools/importers/jstor.py
parent5e48498083cf5b7bccec03ba6352c6acbe6cdb00 (diff)
downloadfatcat-dc53c673dd28a325e47659835015e31e8d345692.tar.gz
fatcat-dc53c673dd28a325e47659835015e31e8d345692.zip
all new importers need to set contrib index (order)
Diffstat (limited to 'python/fatcat_tools/importers/jstor.py')
-rw-r--r--python/fatcat_tools/importers/jstor.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/jstor.py b/python/fatcat_tools/importers/jstor.py
index 6e6ec6a0..5016e813 100644
--- a/python/fatcat_tools/importers/jstor.py
+++ b/python/fatcat_tools/importers/jstor.py
@@ -165,6 +165,10 @@ class JstorImporter(EntityImporter):
surname=surname,
))
+ for i, contrib in enumerate(contribs):
+ if contrib.raw_name != "et al.":
+ contrib.index = i
+
release_year = None
release_date = None
pub_date = article_meta.find('pub-date')