25 Oct
2002
25 Oct
'02
7:37 p.m.
Casey Duncan writes:
I think the following should do what you want:
for foo in bar.objectvalues() try: mo = foo.getProperty('menu_order', None) except 'Unauthorized': continue ..do stuff.. It may not work, because Python uses "is" to check against string exceptions and not "==".
Dieter