Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix recursive layouts

  • Loading branch information...
commit 2f87d2bf7ef9096910c73e7e475e4733ab213b58 1 parent 0e211f1
@fafhrd91 fafhrd91 authored
View
2  .gitignore
@@ -19,3 +19,5 @@ var/*
.coverage
.noseids
docs/_build/
+nosetests.xml
+ptah/coverage.xml
View
2  buildout.cfg
@@ -14,7 +14,7 @@ eggs = ptah
rednose
entry-points = test=nose:run_exit
initialization = import sys
- sys.argv = sys.argv + ['--rednose', 'ptah/']
+ sys.argv = sys.argv + ['--rednose']
[coverage]
recipe = zc.recipe.egg
View
1  docs/requirements.txt
@@ -1 +0,0 @@
--e git+https://github.com/ptahproject/ptah.git#egg=ptah
View
2  ptah/layout.py
@@ -70,7 +70,7 @@ def query_layout_chain(root, context, request, layoutname=''):
if layout.layout in contexts:
l_context = contexts[layout.layout].__parent__
else:
- l_context = layoutcontext
+ l_context = context
layout, layoutcontext = query_layout(
root, l_context, request, layout.layout)
Please sign in to comment.
Something went wrong with that request. Please try again.