From 1b592132fe1a127368189e07bdbf9a16a807a284 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 15 May 2019 15:06:56 -0700 Subject: clean up JALC importer a tiny bit --- python/fatcat_tools/importers/jalc.py | 11 +++-------- 1 file 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( -- cgit v1.2.3