mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Used PyFlakes to detect and fix unneeded imports.
This commit is contained in:
parent
9422ee545e
commit
036735b456
@ -1,3 +1 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@ -1,6 +1,8 @@
|
||||
from django.conf.urls.defaults import *
|
||||
from django.conf.urls.defaults import patterns, url, handler404, handler500
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^$', 'djangotest.testing.views.home'),
|
||||
)
|
||||
|
||||
def __exported_functionality__():
|
||||
return [handler404, handler500]
|
||||
@ -5,4 +5,7 @@
|
||||
|
||||
from gunicorn.http.parser import HttpParser
|
||||
from gunicorn.http.request import HttpRequest, RequestError
|
||||
from gunicorn.http.response import HttpResponse
|
||||
from gunicorn.http.response import HttpResponse
|
||||
|
||||
def __exported_functionality__():
|
||||
return [HttpParser, HttpRequest, RequestError, HttpResponse]
|
||||
@ -4,14 +4,10 @@
|
||||
# See the NOTICE for more information.
|
||||
|
||||
|
||||
import errno
|
||||
from ctypes import *
|
||||
import re
|
||||
import StringIO
|
||||
import socket
|
||||
import sys
|
||||
from urllib import unquote
|
||||
import array
|
||||
import logging
|
||||
|
||||
from gunicorn import __version__
|
||||
|
||||
@ -3,13 +3,7 @@
|
||||
# This file is part of gunicorn released under the MIT license.
|
||||
# See the NOTICE for more information.
|
||||
|
||||
import errno
|
||||
import socket
|
||||
import select
|
||||
import time
|
||||
|
||||
import os
|
||||
from gunicorn.util import http_date, write, read_partial, close
|
||||
from gunicorn.util import http_date, write, close
|
||||
|
||||
class HttpResponse(object):
|
||||
|
||||
|
||||
@ -6,8 +6,6 @@
|
||||
|
||||
import logging
|
||||
import optparse as op
|
||||
import os
|
||||
import sys
|
||||
|
||||
from gunicorn.arbiter import Arbiter
|
||||
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
|
||||
import errno
|
||||
import fcntl
|
||||
import os
|
||||
import select
|
||||
import socket
|
||||
import time
|
||||
|
||||
@ -12,7 +12,6 @@ import signal
|
||||
import socket
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
|
||||
from gunicorn import http
|
||||
from gunicorn import util
|
||||
|
||||
@ -4,11 +4,8 @@
|
||||
# This file is part of gunicorn released under the MIT license.
|
||||
# See the NOTICE for more information.
|
||||
|
||||
import inspect
|
||||
import os
|
||||
import re
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
dirname = os.path.dirname(__file__)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user