>
> self.application().foo  should work fine for a 'foo' that you
> create. This
> is ordinary Python after all.
>
> Perhaps there was another problem where the attribute hadn't
> been set yet?
>

Oops, I must have been smokin the crack rock that day.  I was using
app.valueForKey('myCache',None) in previous code with a default of
None to check if a cached list was there or not.  I just changed it to
app.myCache and wrapped it with an exception instead.  It works great.
Now I'm gonna rip it out of the application and make it global (or
whatever SitePage module scope is called).

Sorry for the bogus bug report :)




_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to