Commit 5454972a authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Change overwrite warning

parent 3a01d91e
Pipeline #27104 passed with stages
in 2 minutes and 43 seconds
......@@ -330,7 +330,7 @@ class FullFieldPipeline:
err = "File already exists: %s" % self.fname
if options["overwrite"]:
if options.get("warn_overwrite", True):
self.logger.warning(err + ". It will be overwritten on user request")
self.logger.warning(err + ". It will be overwritten as requested in configuration")
options["warn_overwrite"] = False
else:
self.logger.fatal(err)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment