[Zope-dev] Re: SVN: Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py Revert unwanted checkin.

Philipp von Weitershausen philipp at weitershausen.de
Thu Jun 1 14:54:49 EDT 2006


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.

Philipp



More information about the Zope-Dev mailing list