[Zope] Containment or context
Michel Pelletier
michel@digicool.com
Fri, 16 Jun 2000 12:14:47 -0700
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