16 Jun
2000
16 Jun
'00
7:14 p.m.
Evan Simpson wrote:
----- Original Message ----- From: Michel Pelletier <michel@digicool.com>
Evan Simpson wrote:
for p in REQUEST['PARENTS']: if hasattr(p.aq_explicit, propname): return getattr(p, propname) raise AttributeError, propname
I think you might be missing an else: and a couple or three tabs. ;)
Eh? I don't get it.
That's because I didn't either. That's what I get for looking at code pre-tea. -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral