summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/swfinterp.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <[email protected]>2016-04-23 18:28:49 +0800
committerYen Chi Hsuan <[email protected]>2016-05-10 14:51:38 +0800
commitdab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449 (patch)
treeed4c6036aa4e509a9d46e9c184c819702fb4f5c5 /youtube_dl/swfinterp.py
parent4350b74545ea3d3ce072444655613bc6974d5516 (diff)
downloadyoutube-dl-dab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449.tar.gz
youtube-dl-dab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449.zip
[utils,compat] Move struct_pack and struct_unpack to compat.py
Diffstat (limited to 'youtube_dl/swfinterp.py')
-rw-r--r--youtube_dl/swfinterp.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/swfinterp.py b/youtube_dl/swfinterp.py
index 06c1d6cc1..86b28716c 100644
--- a/youtube_dl/swfinterp.py
+++ b/youtube_dl/swfinterp.py
@@ -4,10 +4,12 @@ import collections
import io
import zlib
-from .compat import compat_str
+from .compat import (
+ compat_str,
+ struct_unpack,
+)
from .utils import (
ExtractorError,
- struct_unpack,
)