Philipp von Weitershausen wrote:
Tres Seaver wrote:
Florent Guillaume wrote:
Log message for revision 68445:
Revert unwanted checkin.
Changed:
U Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py
-=-
Modified: Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py
===================================================================
--- Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py
2006-06-01 14:44:13 UTC (rev 68444)
+++ Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py
2006-06-01 14:46:17 UTC (rev 68445)
@@ -99,8 +99,6 @@
class ZopePathExpr(PathExpr):
def __init__(self, name, expr, engine):
- if name == 'standard' and not expr:
- expr = 'nothing'
super(ZopePathExpr, self).__init__(name, expr, engine,
boboAwareZopeTraverse)
Why revert? I was fine with this, rather than my warning-emitting
version. Go ahead and forward-port it to the trunk, and close out the
collector issue with a note saying "Zope2 allows empty path expressions"
(maybe reference the issue in the code?)
Cool, I guess this would answer the questions I had in my last entry of
http://www.zope.org/Collectors/Zope/2118.
Ok case closed ;)
I checked this in:
http://svn.zope.org/?view=rev&rev=68461
Florent
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )