diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-15 15:06:56 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-21 11:41:29 -0700 |
commit | 1b592132fe1a127368189e07bdbf9a16a807a284 (patch) | |
tree | 5c44023c8a80d647eded1c2b9ef424d9d10cc624 | |
parent | 82ea0b02b29d6be0542eb43f00710a23ed8516c2 (diff) | |
download | fatcat-1b592132fe1a127368189e07bdbf9a16a807a284.tar.gz fatcat-1b592132fe1a127368189e07bdbf9a16a807a284.zip |
clean up JALC importer a tiny bit
-rw-r--r-- | python/fatcat_tools/importers/jalc.py | 11 |
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( |