summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
authorOnd?ej Nov? <novy@ondrej.org>2016-03-10 18:46:46 +0100
committerOnd?ej Nov? <novy@ondrej.org>2016-03-10 18:46:46 +0100
commitd74c28f48dba2b8bd334eac4363e9e69e2e71cbf (patch)
tree21960cc1d3761dd0d75be5d62a22373c856e86bd /paste
parentb6410f885a7acadb88c77787ab1b6dd916060cd1 (diff)
downloadpaste-git-d74c28f48dba2b8bd334eac4363e9e69e2e71cbf.tar.gz
Use correct variable when building message for exception
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695253
Diffstat (limited to 'paste')
-rw-r--r--paste/fixture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fixture.py b/paste/fixture.py
index 363f119..8cff72f 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -852,7 +852,7 @@ class TestResponse(object):
print("Actual response (has %r)" % no_s, file=sys.stderr)
print(self, file=sys.stderr)
raise IndexError(
- "Body contains string %r" % s)
+ "Body contains string %r" % no_s)
def __repr__(self):
body = self.body