add deprecation warnings for exec.final and metadata.bypost
This commit is contained in:
@@ -41,6 +41,10 @@ class ExecPP(PostProcessor):
|
||||
events = options.get("event")
|
||||
if events is None:
|
||||
events = ("after",)
|
||||
if options.get("final"):
|
||||
self.log.warning("'final' is deprecated, "
|
||||
"use '\"event\": \"finalize\"' instead")
|
||||
events = ("finalize",)
|
||||
elif isinstance(events, str):
|
||||
events = events.split(",")
|
||||
for event in events:
|
||||
|
||||
Reference in New Issue
Block a user