summaryrefslogtreecommitdiff
path: root/paste/lint.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/lint.py')
-rw-r--r--paste/lint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/lint.py b/paste/lint.py
index 6b3aefb..908befb 100644
--- a/paste/lint.py
+++ b/paste/lint.py
@@ -311,7 +311,7 @@ def check_environ(environ):
continue
assert type(environ[key]) is StringType, (
"Environmental variable %s is not a string: %r (value: %r)"
- % (type(environ[key]), environ[key]))
+ % (key, type(environ[key]), environ[key]))
assert type(environ['wsgi.version']) is TupleType, (
"wsgi.version should be a tuple (%r)" % environ['wsgi.version'])