aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/exec.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-11-29 23:16:06 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-11-29 23:34:33 +0530
commitee8dd27a7351841e1de8cebf8311b69fbef09eab (patch)
tree97d8060695b84fe0e86d45132afd72d51bf2e60b /yt_dlp/postprocessor/exec.py
parentf304da8a290ac19ac419f3fafb5891903785ebaa (diff)
downloadhypervideo-pre-ee8dd27a7351841e1de8cebf8311b69fbef09eab.tar.lz
hypervideo-pre-ee8dd27a7351841e1de8cebf8311b69fbef09eab.tar.xz
hypervideo-pre-ee8dd27a7351841e1de8cebf8311b69fbef09eab.zip
[cleanup] Add deprecation warnings
Diffstat (limited to 'yt_dlp/postprocessor/exec.py')
-rw-r--r--yt_dlp/postprocessor/exec.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/yt_dlp/postprocessor/exec.py b/yt_dlp/postprocessor/exec.py
index 7a3cb4999..28a7c3d70 100644
--- a/yt_dlp/postprocessor/exec.py
+++ b/yt_dlp/postprocessor/exec.py
@@ -38,5 +38,10 @@ class ExecPP(PostProcessor):
return [], info
-class ExecAfterDownloadPP(ExecPP): # for backward compatibility
- pass
+# Deprecated
+class ExecAfterDownloadPP(ExecPP):
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ self.deprecation_warning(
+ 'yt_dlp.postprocessor.ExecAfterDownloadPP is deprecated '
+ 'and may be removed in a future version. Use yt_dlp.postprocessor.ExecPP instead')