mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove unused imports.
This commit is contained in:
parent
f3bb0e1e1d
commit
7ce90373a8
@ -4,7 +4,6 @@
|
|||||||
# This file is part of gunicorn released under the MIT license.
|
# This file is part of gunicorn released under the MIT license.
|
||||||
# See the NOTICE for more information.
|
# See the NOTICE for more information.
|
||||||
|
|
||||||
import array
|
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
|
|||||||
@ -3,14 +3,12 @@
|
|||||||
# This file is part of gunicorn released under the MIT license.
|
# This file is part of gunicorn released under the MIT license.
|
||||||
# See the NOTICE for more information.
|
# See the NOTICE for more information.
|
||||||
|
|
||||||
import t
|
|
||||||
import treq
|
import treq
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
dirname = os.path.dirname(__file__)
|
dirname = os.path.dirname(__file__)
|
||||||
|
|
||||||
from py.test import skip
|
|
||||||
reqdir = os.path.join(dirname, "requests", "valid")
|
reqdir = os.path.join(dirname, "requests", "valid")
|
||||||
|
|
||||||
def a_case(fname):
|
def a_case(fname):
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
# This file is part of gunicorn released under the MIT license.
|
# This file is part of gunicorn released under the MIT license.
|
||||||
# See the NOTICE for more information.
|
# See the NOTICE for more information.
|
||||||
|
|
||||||
import t
|
|
||||||
import treq
|
import treq
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import t
|
import t
|
||||||
|
|
||||||
import functools
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|||||||
@ -5,16 +5,14 @@
|
|||||||
# This file is part of gunicorn released under the MIT license.
|
# This file is part of gunicorn released under the MIT license.
|
||||||
# See the NOTICE for more information.
|
# See the NOTICE for more information.
|
||||||
|
|
||||||
# stdlib
|
|
||||||
import inspect
|
|
||||||
import ssl
|
import ssl
|
||||||
import sys
|
import sys
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
# gunicorn
|
from gunicorn.config import (
|
||||||
from gunicorn.config import KeyFile, CertFile, SSLVersion, CACerts, \
|
KeyFile, CertFile, SSLVersion, CACerts, SuppressRaggedEOFs,
|
||||||
SuppressRaggedEOFs, DoHandshakeOnConnect, Setting, validate_bool, validate_string, \
|
DoHandshakeOnConnect, Setting,
|
||||||
validate_pos_int
|
)
|
||||||
|
|
||||||
if sys.version_info >= (2, 7):
|
if sys.version_info >= (2, 7):
|
||||||
from gunicorn.config import Ciphers
|
from gunicorn.config import Ciphers
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
# The following code adapted from CPython (see Lib/test/test_selectors.py)
|
# The following code adapted from CPython (see Lib/test/test_selectors.py)
|
||||||
|
|
||||||
import errno
|
import errno
|
||||||
import os
|
|
||||||
import random
|
import random
|
||||||
import signal
|
import signal
|
||||||
import socket
|
import socket
|
||||||
|
|||||||
@ -11,7 +11,6 @@ import random
|
|||||||
|
|
||||||
from gunicorn._compat import execfile_
|
from gunicorn._compat import execfile_
|
||||||
from gunicorn.config import Config
|
from gunicorn.config import Config
|
||||||
from gunicorn.http.errors import ParseException
|
|
||||||
from gunicorn.http.parser import RequestParser
|
from gunicorn.http.parser import RequestParser
|
||||||
from gunicorn.six.moves.urllib.parse import urlparse
|
from gunicorn.six.moves.urllib.parse import urlparse
|
||||||
from gunicorn import six
|
from gunicorn import six
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user