From 44fa5352360b78696c3d81cafa8e24eaa4f6c3ed Mon Sep 17 00:00:00 2001 From: ianb Date: Fri, 20 Oct 2006 22:08:05 +0000 Subject: A big commit, primarily aesthetic/whitespace in nature. This is the result of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up. --- paste/cgiapp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'paste/cgiapp.py') diff --git a/paste/cgiapp.py b/paste/cgiapp.py index 17c308d..67f2654 100644 --- a/paste/cgiapp.py +++ b/paste/cgiapp.py @@ -10,7 +10,6 @@ try: import select except ImportError: select = None -import warnings from paste.util import converters @@ -48,7 +47,7 @@ class CGIApplication(object): if '?' in script: assert query_string is None, ( "You cannot have '?' in your script name (%r) and also " - "give a query_string (%r)" % (self.script, query_string)) + "give a query_string (%r)" % (script, query_string)) script, query_string = script.split('?', 1) if os.path.abspath(script) != script: # relative path -- cgit v1.2.1