Chris McDonough
2012-02-18 44f585291d5f98892a94b3dafca42a70c4f3fc02
comment intent
1 files modified
6 ■■■■■ changed files
pyramid/traversal.py 6 ●●●●● patch | view | raw | blame | history
pyramid/traversal.py
@@ -753,8 +753,10 @@
            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