From a97e2a9fe4e0e3c3e73fc31a4120e83f6eeaede6 Mon Sep 17 00:00:00 2001 From: Mark McClain Date: Thu, 24 Feb 2011 13:25:29 -0500 Subject: [PATCH] correct spelling error --- pecan/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pecan/core.py b/pecan/core.py index 734b6e6..d892706 100644 --- a/pecan/core.py +++ b/pecan/core.py @@ -138,7 +138,7 @@ class Pecan(object): except NonCanonicalPath, e: if self.force_canonical and not _cfg(e.controller).get('accept_noncanonical', False): if request.method == 'POST': - raise RuntimeError, "You have POSTed to a URL '%s' which requires a slash. Most browsers will not maintain POST data when redirected. Please update you code to POST to '%s/' or set force_canonical to False" % (request.routing_path, request.routing_path) + raise RuntimeError, "You have POSTed to a URL '%s' which requires a slash. Most browsers will not maintain POST data when redirected. Please update your code to POST to '%s/' or set force_canonical to False" % (request.routing_path, request.routing_path) raise exc.HTTPFound(add_slash=True) return e.controller, e.remainder