aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-05-16 12:03:59 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-05-16 12:03:59 +0200
commit0a871f68805b0edda7ebc6a357c4ff8aae514758 (patch)
treea44e2022756d18ce5796d48920c027987dbb2538 /youtube_dl/postprocessor
parent01ed5c9be30a98d3d8bc9eeb4240ce69d4b5c1ae (diff)
Provide compatibility check_output for 2.6 (Fixes #2926)
Diffstat (limited to 'youtube_dl/postprocessor')
-rw-r--r--youtube_dl/postprocessor/xattrpp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/postprocessor/xattrpp.py b/youtube_dl/postprocessor/xattrpp.py
index 18979241c..f6940940b 100644
--- a/youtube_dl/postprocessor/xattrpp.py
+++ b/youtube_dl/postprocessor/xattrpp.py
@@ -6,6 +6,7 @@ from .common import PostProcessor
from ..utils import (
check_executable,
hyphenate_date,
+ subprocess_check_output
)
@@ -57,7 +58,7 @@ class XAttrMetadataPP(PostProcessor):
elif user_has_xattr:
cmd = ['xattr', '-w', key, value, path]
- subprocess.check_output(cmd)
+ subprocess_check_output(cmd)
else:
# On Unix, and can't find pyxattr, setfattr, or xattr.