[Checkins] SVN: Sandbox/shane/republish/zope/pipeline/s checkpoint
Shane Hathaway
shane at hathawaymix.org
Tue Feb 10 04:56:35 EST 2009
Log message for revision 96373:
checkpoint
Changed:
U Sandbox/shane/republish/zope/pipeline/simpletraverser.py
U Sandbox/shane/republish/zope/pipeline/standard.py
-=-
Modified: Sandbox/shane/republish/zope/pipeline/simpletraverser.py
===================================================================
--- Sandbox/shane/republish/zope/pipeline/simpletraverser.py 2009-02-10 09:40:42 UTC (rev 96372)
+++ Sandbox/shane/republish/zope/pipeline/simpletraverser.py 2009-02-10 09:56:34 UTC (rev 96373)
@@ -1,6 +1,14 @@
+"""
+Rules:
+ * __getitem__ all path elements except ++, @@, maybe +
+ * Look up a view at the end using getMultiAdapter().
+ * If the view has a capitalized method name matching REQUEST_METHOD,
+ traverse to that.
+"""
+
class SimpleTraverser(object):
def __init__(self, app):
Modified: Sandbox/shane/republish/zope/pipeline/standard.py
===================================================================
--- Sandbox/shane/republish/zope/pipeline/standard.py 2009-02-10 09:40:42 UTC (rev 96372)
+++ Sandbox/shane/republish/zope/pipeline/standard.py 2009-02-10 09:56:34 UTC (rev 96373)
@@ -20,7 +20,6 @@
def make_app(zope_conf, pipeline=standard_pipeline):
p = list(pipeline)
- p.reverse()
factory = p.pop()
app = factory(zope_conf)
while p:
More information about the Checkins
mailing list