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_import.py | |
parent | cad812bf78f7363e698139cd7b95d7434f8ae4bb (diff) | |
download | fatcat-1ed31621ae384f8b5e2a7d389347b8c97bcfefe3.tar.gz fatcat-1ed31621ae384f8b5e2a7d389347b8c97bcfefe3.zip |
ingest: whitelist -> allowlist
Diffstat (limited to 'python/fatcat_import.py')
-rwxr-xr-x | python/fatcat_import.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py index e92b3106..5dc10f0e 100755 --- a/python/fatcat_import.py +++ b/python/fatcat_import.py @@ -126,7 +126,7 @@ def run_arabesque_match(args): def run_ingest_file(args): ifri = IngestFileResultImporter(args.api, editgroup_description=args.editgroup_description_override, - skip_source_whitelist=args.skip_source_whitelist, + skip_source_allowlist=args.skip_source_allowlist, do_updates=args.do_updates, default_link_rel=args.default_link_rel, require_grobid=(not args.no_require_grobid), @@ -442,9 +442,9 @@ def main(): sub_ingest_file.add_argument('json_file', help="ingest_file JSON file to import from", default=sys.stdin, type=argparse.FileType('r')) - sub_ingest_file.add_argument('--skip-source-whitelist', + sub_ingest_file.add_argument('--skip-source-allowlist', action='store_true', - help="don't filter import based on request source whitelist") + help="don't filter import based on request source allowlist") sub_ingest_file.add_argument('--kafka-mode', action='store_true', help="consume from kafka topic (not stdin)") |