Hi Ed :-)

StarRave marches on I see...

I'm assuming mixing_for is a method?

>                     if hasattr(i, 'mixing_for()'):  #try to get
> mixing_for() method
>                         days_mixing=getattr(i,'mixing_for()')

in which case the above should be:
                     if hasattr(i, 'mixing_for'):
                         days_mixing=i.mixing_for()

cheers,

Chris

_______________________________________________
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