From 44f585291d5f98892a94b3dafca42a70c4f3fc02 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 18 Feb 2012 15:20:27 -0500 Subject: comment intent --- pyramid/traversal.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyramid/traversal.py b/pyramid/traversal.py index 328fde4a5..75931557e 100644 --- a/pyramid/traversal.py +++ b/pyramid/traversal.py @@ -753,8 +753,10 @@ class ResourceURL(object): if physical_path.startswith(vroot_path): virtual_path = physical_path[len(vroot_path):] - self.virtual_path = virtual_path - self.physical_path = physical_path + self.virtual_path = virtual_path # IResourceURL attr + self.physical_path = physical_path # IResourceURL attr + + # bw compat self.resource = resource self.context = resource # bw compat alias for IContextURL compat self.request = request -- cgit v1.2.3