summaryrefslogtreecommitdiff
path: root/paste/cgiapp.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-10-20 22:08:05 +0000
committerianb <devnull@localhost>2006-10-20 22:08:05 +0000
commit44fa5352360b78696c3d81cafa8e24eaa4f6c3ed (patch)
treeccde2c446f352cb5344f3c9a40090f12290bf9a7 /paste/cgiapp.py
parent9eadab4b64440958f99a2fa1798227bb4a53193c (diff)
downloadpaste-44fa5352360b78696c3d81cafa8e24eaa4f6c3ed.tar.gz
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.
Diffstat (limited to 'paste/cgiapp.py')
-rw-r--r--paste/cgiapp.py3
1 files changed, 1 insertions, 2 deletions
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