[Zope-dev] Re: Bugfix release?
   
    Yuppie
     
    yuppie@zedat.fu-berlin.de
       
    Sun, 01 Dec 2002 17:13:59 +0100
    
    
  
Yuppie wrote:
> HelpSys DTML Reference node is broken. Please consider at least a two 
> line bugfix for 2.6.1.
> 
> -    if id[:5]=='dtml-':
> +    if id[:5].lower()=='dtml-':
>          dtmltopics.append(topic)
> -    if (id[:5] in ('metal', 'tales') and id[5] in ('.', '-')) or \
> +    elif (id[:5] in ('metal', 'tales') and id[5] in ('.', '-')) or \
>         (id[:3]=='tal' and id[3] in ('.', '-')):
>          zpttopics.append(topic)
>      else:
>          topics.append(topic)
I have to cut back on my request:
The first point could be intended: Uppercase DTML help is used for DTML 
Document and DTML Method help.
So really  buggy is only the 'if' instead of 'elif'. This makes DTML 
Reference show up twice.
See also <http://collector.zope.org/Zope/704> .
Cheers,
Yuppie