summaryrefslogtreecommitdiff
path: root/paste/urlparser.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2008-08-27 18:30:48 +0000
committerpjenvey <devnull@localhost>2008-08-27 18:30:48 +0000
commitb8896004e5b3a70ab59be55eb93ae1d08ab29664 (patch)
treeb1b628c09aab30d7b93580e216c08c12a01095a8 /paste/urlparser.py
parente37d96d50cb34c8bbb2ffefcf9282944e2d40e2a (diff)
downloadpaste-b8896004e5b3a70ab59be55eb93ae1d08ab29664.tar.gz
use consistent string quoting
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r--paste/urlparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/urlparser.py b/paste/urlparser.py
index a8268d5..8712639 100644
--- a/paste/urlparser.py
+++ b/paste/urlparser.py
@@ -231,7 +231,7 @@ class URLParser(object):
url += '?' + environ['QUERY_STRING']
exc = httpexceptions.HTTPMovedPermanently(
'The resource has moved to %s - you should be redirected '
- 'automatically.''' % url,
+ 'automatically.' % url,
headers=[('location', url)])
return exc.wsgi_application(environ, start_response)
@@ -500,7 +500,7 @@ class StaticURLParser(object):
url += '?' + environ['QUERY_STRING']
exc = httpexceptions.HTTPMovedPermanently(
'The resource has moved to %s - you should be redirected '
- 'automatically.''' % url,
+ 'automatically.' % url,
headers=[('location', url)])
return exc.wsgi_application(environ, start_response)