From be58a615e356cdb3935510b95278a24ec6b0d2a6 Mon Sep 17 00:00:00 2001 From: Adam Goforth Date: Sun, 28 May 2023 20:39:39 -0400 Subject: [PATCH] Group urllib imports --- download_trailers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_trailers.py b/download_trailers.py index 83f42f3..f1bf246 100644 --- a/download_trailers.py +++ b/download_trailers.py @@ -51,6 +51,7 @@ from urllib.parse import urlunparse except ImportError: # Fall back to Python 2's naming + from urllib import quote from ConfigParser import Error from ConfigParser import MissingSectionHeaderError from ConfigParser import SafeConfigParser as ConfigParser @@ -58,7 +59,6 @@ from urllib2 import Request from urllib2 import HTTPError from urllib2 import URLError - from urllib import quote from urlparse import ParseResult from urlparse import urlparse from urlparse import urlunparse