1
0
Fork 0
forked from github/pelican

remove WRITE_SELECTED

Implementation is buggy and unreliable. Therefore, it is better to
remove the functionality until a robust implementation is added.
This commit is contained in:
Deniz Turgut 2023-11-12 19:43:26 +03:00
commit 86d6898517
No known key found for this signature in database
GPG key ID: 87B7168D7AB3ED2F
8 changed files with 8 additions and 103 deletions

View file

@ -434,15 +434,6 @@ def parse_arguments(argv=None):
help="Ignore content cache " "from previous runs by not loading cache files.",
)
parser.add_argument(
"-w",
"--write-selected",
type=str,
dest="selected_paths",
default=None,
help="Comma separated list of selected paths to write",
)
parser.add_argument(
"--fatal",
metavar="errors|warnings",
@ -527,8 +518,6 @@ def get_config(args):
config["LOAD_CONTENT_CACHE"] = False
if args.cache_path:
config["CACHE_PATH"] = args.cache_path
if args.selected_paths:
config["WRITE_SELECTED"] = args.selected_paths.split(",")
if args.relative_paths:
config["RELATIVE_URLS"] = args.relative_paths
if args.port is not None: