Jon Bowlas wrote:
> Ok so I changed it to this: 
> 
> attobject = context.get_attobject()
> navstring = context.get_uclattribute(attobject, 'ucl_navhide')
> hiddennavelements = navstring.split(' ')
> for hiddennavelement in hiddennavelements:
>     yield hiddennavelements
> 
> But I get the following error- Line 5: Yield statements are not allowed.

Please post the full traceback (cut and paste).  Don't just retype the 
error message like that.

-Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to