aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-15 15:06:56 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-21 11:41:29 -0700
commit1b592132fe1a127368189e07bdbf9a16a807a284 (patch)
tree5c44023c8a80d647eded1c2b9ef424d9d10cc624 /python/fatcat_tools/importers
parent82ea0b02b29d6be0542eb43f00710a23ed8516c2 (diff)
downloadfatcat-1b592132fe1a127368189e07bdbf9a16a807a284.tar.gz
fatcat-1b592132fe1a127368189e07bdbf9a16a807a284.zip
clean up JALC importer a tiny bit
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/jalc.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/python/fatcat_tools/importers/jalc.py b/python/fatcat_tools/importers/jalc.py
index d7b89727..f1386bff 100644
--- a/python/fatcat_tools/importers/jalc.py
+++ b/python/fatcat_tools/importers/jalc.py
@@ -251,14 +251,8 @@ class JalcImporter(EntityImporter):
publisher=publisher,
language=lang,
#license_slug
-
- # content, mimetype, lang
- #abstracts=abstracts,
-
- # raw_name, role, raw_affiliation, extra
+ container_id=container_id,
contribs=contribs,
-
-
extra=extra,
)
return re
@@ -280,7 +274,8 @@ class JalcImporter(EntityImporter):
if existing:
self.counts['exists'] += 1
return False
- return False
+
+ return True
def insert_batch(self, batch):
self.api.create_release_auto_batch(fatcat_client.ReleaseAutoBatch(