From 4c49ad3306522ce4b1806ac7175447d7e8a3c3a9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 18 Feb 2012 15:36:20 -0500 Subject: spacing --- pyramid/interfaces.py | 4 ++-- pyramid/traversal.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py index 399b3efa3..5d9d29afa 100644 --- a/pyramid/interfaces.py +++ b/pyramid/interfaces.py @@ -786,8 +786,8 @@ deprecated( 'IContextURL', 'As of Pyramid 1.3 the, "pyramid.interfaces.IContextURL" interface is ' 'scheduled to be removed. Use the ' - '"pyramid.config.Configurator.add_resource_url_adapter" method to register' - 'a class that implements "pyramid.interfaces.IResourceURL" instead.' + '"pyramid.config.Configurator.add_resource_url_adapter" method to register ' + 'a class that implements "pyramid.interfaces.IResourceURL" instead. ' 'See the "What\'s new In Pyramid 1.3" document for a further description.' ) diff --git a/pyramid/traversal.py b/pyramid/traversal.py index 8c1e3f434..3b2c96021 100644 --- a/pyramid/traversal.py +++ b/pyramid/traversal.py @@ -756,9 +756,9 @@ class ResourceURL(object): self.virtual_path = virtual_path # IResourceURL attr self.physical_path = physical_path # IResourceURL attr - # bw compat + # bw compat for IContextURL methods self.resource = resource - self.context = resource # bw compat alias for IContextURL compat + self.context = resource self.request = request # IContextURL method (deprecated in 1.3) @@ -804,8 +804,8 @@ deprecated( 'TraversalContextURL', 'As of Pyramid 1.3 the, "pyramid.traversal.TraversalContextURL" class is ' 'scheduled to be removed. Use the ' - '"pyramid.config.Configurator.add_resource_url_adapter" method to register' - 'a class that implements "pyramid.interfaces.IResourceURL" instead.' + '"pyramid.config.Configurator.add_resource_url_adapter" method to register ' + 'a class that implements "pyramid.interfaces.IResourceURL" instead. ' 'See the "What\'s new In Pyramid 1.3" document for a further description.' ) -- cgit v1.2.3