[utils,compat] Move struct_pack and struct_unpack to compat.py

This commit is contained in:
Yen Chi Hsuan
2016-04-23 18:28:49 +08:00
parent 4350b74545
commit dab0daeeb0
7 changed files with 38 additions and 28 deletions

View File

@ -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,
)