summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-06 19:35:34 -0500
committerChris McDonough <chrism@plope.com>2011-01-06 19:35:34 -0500
commit8b16681a173112b38d3bead7c654a8398f33c508 (patch)
tree0f43e56705d8a793c71119668de98bb58762c1b0
parente139f845eca82443bbcd7fdc6c65191695f3394f (diff)
parent1822100256ce5077dbeb1886c833ef4a1f9538a3 (diff)
downloadpyramid-8b16681a173112b38d3bead7c654a8398f33c508.tar.gz
pyramid-8b16681a173112b38d3bead7c654a8398f33c508.tar.bz2
pyramid-8b16681a173112b38d3bead7c654a8398f33c508.zip
Merge branch 'master' of https://github.com/csenger/pyramid into csenger-master
-rw-r--r--pyramid/traversal.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyramid/traversal.py b/pyramid/traversal.py
index f3377b0d0..f32b43493 100644
--- a/pyramid/traversal.py
+++ b/pyramid/traversal.py
@@ -352,6 +352,9 @@ def resource_path_tuple(resource, *elements):
"""
return tuple(_resource_path_list(resource, *elements))
+model_path_tuple = resource_path_tuple # b/w compat
+
+
def _resource_path_list(resource, *elements):
""" Implementation detail shared by resource_path and resource_path_tuple"""
path = [loc.__name__ or '' for loc in lineage(resource)]