diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-11-05 20:27:57 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-11-05 20:27:57 -0800 |
commit | 1ed31621ae384f8b5e2a7d389347b8c97bcfefe3 (patch) | |
tree | e5baaeeaaecbcd733610ac86045f8dda8ffd27cb /python/fatcat_tools/importers | |
parent | cad812bf78f7363e698139cd7b95d7434f8ae4bb (diff) | |
download | fatcat-1ed31621ae384f8b5e2a7d389347b8c97bcfefe3.tar.gz fatcat-1ed31621ae384f8b5e2a7d389347b8c97bcfefe3.zip |
ingest: whitelist -> allowlist
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r-- | python/fatcat_tools/importers/ingest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py index c88ec86a..b6851eec 100644 --- a/python/fatcat_tools/importers/ingest.py +++ b/python/fatcat_tools/importers/ingest.py @@ -23,7 +23,7 @@ class IngestFileResultImporter(EntityImporter): print("Requiring GROBID status == 200 (for PDFs)") else: print("NOT checking GROBID success") - self.ingest_request_source_whitelist = [ + self.ingest_request_source_allowlist = [ 'fatcat-changelog', 'fatcat-ingest-container', 'fatcat-ingest', @@ -35,8 +35,8 @@ class IngestFileResultImporter(EntityImporter): 's2-corpus', 's2', ] - if kwargs.get('skip_source_whitelist', False): - self.ingest_request_source_whitelist = [] + if kwargs.get('skip_source_allowlist', False): + self.ingest_request_source_allowlist = [] def want(self, row): """ |