Skip to content

Commit af7fb08

Browse files
committed
Remove unused variables
1 parent 085f1f1 commit af7fb08

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

tornado/httpserver.py

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class except to start a server at the beginning of the process
3030
import logging
3131
import socket
3232
import time
33-
import urlparse
3433

3534
from tornado.escape import utf8, native_str, parse_qs_bytes
3635
from tornado import httputil

tornado/test/web_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ def get(self, path):
745745

746746
@classmethod
747747
def make_static_url(cls, settings, path):
748-
version_hash = cls.get_version(settings, path)
748+
cls.get_version(settings, path)
749749
extension_index = path.rindex('.')
750750
before_version = path[:extension_index]
751751
after_version = path[(extension_index + 1):]

tornado/wsgi.py

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from __future__ import absolute_import, division, with_statement
3333

3434
import Cookie
35-
import cgi
3635
import httplib
3736
import logging
3837
import sys

0 commit comments

Comments
 (0)