summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-18 15:36:20 -0500
committerChris McDonough <chrism@plope.com>2012-02-18 15:36:20 -0500
commit4c49ad3306522ce4b1806ac7175447d7e8a3c3a9 (patch)
tree38a92b2bc5f8b6c50073905932f52fcfe818dafd
parent2be06a6151e6e21ab680dff8c0e669f05c769ab5 (diff)
downloadpyramid-4c49ad3306522ce4b1806ac7175447d7e8a3c3a9.tar.gz
pyramid-4c49ad3306522ce4b1806ac7175447d7e8a3c3a9.tar.bz2
pyramid-4c49ad3306522ce4b1806ac7175447d7e8a3c3a9.zip
spacing
-rw-r--r--pyramid/interfaces.py4
-rw-r--r--pyramid/traversal.py8
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.'
)