Used PyFlakes to detect and fix unneeded imports.

This commit is contained in:
Eric Florenzano 2010-01-21 13:23:35 -08:00
parent 9422ee545e
commit 036735b456
9 changed files with 8 additions and 22 deletions

View File

@ -1,3 +1 @@
from django.db import models
# Create your models here.

View File

@ -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]

View File

@ -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]

View File

@ -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__

View File

@ -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):

View File

@ -6,8 +6,6 @@
import logging
import optparse as op
import os
import sys
from gunicorn.arbiter import Arbiter

View File

@ -5,7 +5,6 @@
import errno
import fcntl
import os
import select
import socket
import time

View File

@ -12,7 +12,6 @@ import signal
import socket
import sys
import tempfile
import time
from gunicorn import http
from gunicorn import util

View File

@ -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__)