]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Remove unused variables
authorBen Darnell <ben@bendarnell.com>
Mon, 28 May 2012 03:11:52 +0000 (20:11 -0700)
committerBen Darnell <ben@bendarnell.com>
Mon, 28 May 2012 03:11:52 +0000 (20:11 -0700)
tornado/httpserver.py
tornado/test/web_test.py
tornado/wsgi.py

index e930e9f707adfcd540b8898b6d22c8e699189f33..5667ba1567724eada780a6018102a3b010a9b819 100644 (file)
@@ -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
index bb316b56f7afbe16e34797b81b686fd5aece7767..23d8d07a0b00205f36d2ddba2a79495bf6f7b4f2 100644 (file)
@@ -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):]
index 564b1fac2ffec352aa2c538f2912b41bacd0bea1..e0b11d330e595cddf028604d540a3eba60042078 100644 (file)
@@ -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