From af7fb0806dffa28d31b307357e5599c59cd9988e Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 27 May 2012 20:11:52 -0700 Subject: [PATCH] Remove unused variables --- tornado/httpserver.py | 1 - tornado/test/web_test.py | 2 +- tornado/wsgi.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tornado/httpserver.py b/tornado/httpserver.py index e930e9f70..5667ba156 100644 --- a/tornado/httpserver.py +++ b/tornado/httpserver.py @@ -30,7 +30,6 @@ import Cookie import logging import socket import time -import urlparse from tornado.escape import utf8, native_str, parse_qs_bytes from tornado import httputil diff --git a/tornado/test/web_test.py b/tornado/test/web_test.py index bb316b56f..23d8d07a0 100644 --- a/tornado/test/web_test.py +++ b/tornado/test/web_test.py @@ -745,7 +745,7 @@ class CustomStaticFileTest(AsyncHTTPTestCase, LogTrapTestCase): @classmethod def make_static_url(cls, settings, path): - version_hash = cls.get_version(settings, path) + cls.get_version(settings, path) extension_index = path.rindex('.') before_version = path[:extension_index] after_version = path[(extension_index + 1):] diff --git a/tornado/wsgi.py b/tornado/wsgi.py index 564b1fac2..e0b11d330 100644 --- a/tornado/wsgi.py +++ b/tornado/wsgi.py @@ -32,7 +32,6 @@ provides WSGI support in two ways: from __future__ import absolute_import, division, with_statement import Cookie -import cgi import httplib import logging import sys -- 2.47.2