chore: import only used function

This commit is contained in:
Laerte Pereira 2022-06-30 10:46:00 -03:00
parent c4c816624f
commit fe08a119d9
No known key found for this signature in database
GPG Key ID: BB69B5C731BB8A80
1 changed files with 2 additions and 2 deletions

View File

@ -9,13 +9,13 @@ import tarfile
import zipfile
from io import BytesIO
from tempfile import mktemp
import warnings
from warnings import warn
from scrapy.exceptions import ScrapyDeprecationWarning
from scrapy.responsetypes import responsetypes
warnings.warn(
warn(
'scrapy.downloadermiddlewares.decompression is deprecated',
ScrapyDeprecationWarning,
stacklevel=2,