summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-11-05 20:27:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-11-05 20:27:57 -0800
commit1ed31621ae384f8b5e2a7d389347b8c97bcfefe3 (patch)
treee5baaeeaaecbcd733610ac86045f8dda8ffd27cb /python/fatcat_tools/importers
parentcad812bf78f7363e698139cd7b95d7434f8ae4bb (diff)
downloadfatcat-1ed31621ae384f8b5e2a7d389347b8c97bcfefe3.tar.gz
fatcat-1ed31621ae384f8b5e2a7d389347b8c97bcfefe3.zip
ingest: whitelist -> allowlist
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/ingest.py6
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):
"""