Remove unused imports

(imported from commit 9f5c226708e44935e8d32c18ea7dd1ad2615d8d5)
This commit is contained in:
Keegan McAllister 2012-09-07 13:36:41 -04:00
parent b6203e7240
commit 80c6d09197
6 changed files with 5 additions and 8 deletions

View File

@ -1,5 +1,5 @@
from django.conf import settings
from django.conf.urls import patterns, include, url
from django.conf.urls import patterns, url
import os.path
# Uncomment the next two lines to enable the admin:

View File

@ -1,4 +1,3 @@
import tornado.web
import types
class TornadoAsyncException(Exception): pass

View File

@ -1,7 +1,7 @@
from django.core.management.base import NoArgsCommand
from django.contrib.auth.models import User
from zephyr.models import Zephyr, UserProfile, ZephyrClass, Recipient, Subscription
from zephyr.models import Zephyr, UserProfile, ZephyrClass, Recipient
from django.contrib.sessions.models import Session
class Command(NoArgsCommand):

View File

@ -85,7 +85,7 @@ class Command(BaseCommand):
print "Tornado server is running at http://%s:%s/" % (addr, port)
print "Quit the server with %s." % quit_command
from tornado.web import FallbackHandler, StaticFileHandler
from tornado.web import FallbackHandler
django_app = wsgi.WSGIContainer(WSGIHandler())
try:
@ -150,7 +150,7 @@ class AsyncDjangoHandler(tornado.web.RequestHandler, base.BaseHandler):
return inner_func
def get(self):
from tornado.wsgi import HTTPRequest, WSGIContainer
from tornado.wsgi import WSGIContainer
from django.core.handlers.wsgi import WSGIRequest, STATUS_CODE_TEXT
import urllib

View File

@ -7,7 +7,6 @@ from zephyr.models import Zephyr, UserProfile, ZephyrClass, Recipient, Subscript
filter_by_subscriptions, Realm
import datetime
import os
import simplejson
import subprocess
subprocess.call("zephyr/tests/generate-fixtures");

View File

@ -9,11 +9,10 @@ from django.utils.timezone import utc
from django.contrib.auth.models import User
from zephyr.models import Zephyr, UserProfile, ZephyrClass, Subscription, \
Recipient, filter_by_subscriptions, get_display_recipient, get_huddle, \
Recipient, get_display_recipient, get_huddle, \
create_user_profile, Realm, UserMessage, create_zephyr_class
from zephyr.forms import RegistrationForm
import tornado.web
from zephyr.decorator import asynchronous
import datetime