diff options
author | ianb <devnull@localhost> | 2006-02-28 00:03:35 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-02-28 00:03:35 +0000 |
commit | feffdb13f961325ff252617509d92644dbca997e (patch) | |
tree | 9982daef53bbf90d0e3464ba24ad796d7fbf9fce /paste/lint.py | |
parent | 358d831fed8517045943353b1c14af1faf3e1aa3 (diff) | |
download | paste-feffdb13f961325ff252617509d92644dbca997e.tar.gz |
Slightly better assertion message
Diffstat (limited to 'paste/lint.py')
-rw-r--r-- | paste/lint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/lint.py b/paste/lint.py index 079ceb5..87b9551 100644 --- a/paste/lint.py +++ b/paste/lint.py @@ -228,7 +228,7 @@ def check_environ(environ): "SCRIPT_NAME doesn't start with /: %r" % environ['SCRIPT_NAME']) assert (not environ.get('PATH_INFO') or environ['PATH_INFO'].startswith('/')), ( - "PATH_INFO doesn't start with /: %s" % environ['PATH_INFO']) + "PATH_INFO doesn't start with /: %r" % environ['PATH_INFO']) if environ.get('CONTENT_LENGTH'): assert int(environ['CONTENT_LENGTH']) >= 0, ( "Invalid CONTENT_LENGTH: %r" % environ['CONTENT_LENGTH']) |