[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
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30
7 changed files with 38 additions and 28 deletions

View file

@ -6,6 +6,9 @@ import re
import time
from .common import InfoExtractor
from ..compat import (
struct_unpack,
)
from ..utils import (
ExtractorError,
float_or_none,
@ -13,7 +16,6 @@ from ..utils import (
remove_start,
sanitized_Request,
std_headers,
struct_unpack,
)