aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/exec.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-11-30 17:19:55 -0500
committerJesús <heckyel@hyperbola.info>2021-11-30 17:19:55 -0500
commitccf02e63e53e481824b56b4e05ab1c2a9558c9a7 (patch)
tree41ad503be3ca01b0d83d0585f577bcf871b3f159 /yt_dlp/postprocessor/exec.py
parent54288332f1d8ec2974c65281e6a712e56b5cd24f (diff)
parent1bad50eced921126ea6587d9ae99e98164da500b (diff)
downloadhypervideo-pre-ccf02e63e53e481824b56b4e05ab1c2a9558c9a7.tar.lz
hypervideo-pre-ccf02e63e53e481824b56b4e05ab1c2a9558c9a7.tar.xz
hypervideo-pre-ccf02e63e53e481824b56b4e05ab1c2a9558c9a7.zip
updated from upstream | 30/11/2021 at 17:19
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')