From f4b0885084a0e1e390f0a6b65248170799b04760 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Fri, 16 Sep 2011 15:47:53 -0500 Subject: spelling error fixes issue #280 --- docs/whatsnew-1.2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst index 8bc133bfa..49854a7e7 100644 --- a/docs/whatsnew-1.2.rst +++ b/docs/whatsnew-1.2.rst @@ -139,7 +139,7 @@ Minor Feature Additions - The :meth:`pyramid.request.Request.static_url` API (and its brethren :meth:`pyramid.request.Request.static_path`, :func:`pyramid.url.static_url`, and :func:`pyramid.url.static_path`) now - accept an asbolute filename as a "path" argument. This will generate a URL + accept an absolute filename as a "path" argument. This will generate a URL to an asset as long as the filename is in a directory which was previously registered as a static view. Previously, trying to generate a URL to an asset using an absolute file path would raise a ValueError. -- cgit v1.2.3 From f4bf5fd9b809b0963d9e32f5ef57617fcd295db1 Mon Sep 17 00:00:00 2001 From: Jeff Dairiki Date: Tue, 20 Sep 2011 07:17:29 -0700 Subject: Trivial grammar fix --- pyramid/mako_templating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/mako_templating.py b/pyramid/mako_templating.py index 5fde4e346..c79de7217 100644 --- a/pyramid/mako_templating.py +++ b/pyramid/mako_templating.py @@ -50,7 +50,7 @@ class PkgResourceTemplateLookup(TemplateLookup): if os.path.isfile(srcfile): return self._load(srcfile, uri) raise exceptions.TopLevelLookupException( - "Cant locate template for uri %r" % uri) + "Can not locate template for uri %r" % uri) return TemplateLookup.get_template(self, uri) -- cgit v1.2.3