[Zope-dev] Re: SkinScript enhancement
Steve Alexander
steve@cat-box.net
Sun, 14 Jan 2001 13:49:30 +0000
Steve Alexander wrote:
>
> This assumes a method of DataSkins.DataSkin _uncache_attrs:
>
> def _uncache_attrs(self, names):
> v=self._v_attrCache
> for name in names:
> del v[name]
>
> I haven't tested any of this yet.
And I realized just after I sent it that the method should be more like:
def _uncache_attrs(self, names):
v=self._v_attrCache
for name in names:
if v.has_key(name): del v[name]
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net