Hi,

I need this:

result = []
for item in self.objectValues( [ 'DTML Document' ] ):
    if item.hasProperty( 'publish' ):
       result.append( item )
return result

to be:

result = []
for item in self.objectValues( [ 'DTML Document' ] ):
    if item.hasProperty( 'publish' ):
(and if there is something entered in the 'publish' field)
       result.append( item )
return result

Thanks in advance.

Tom Scheidt   |   www.falsemirror.com   |   [EMAIL PROTECTED]
----------------------------------------------------------------------------
-----------


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to