[Zope] Moving the Data.fs
Jørgen Larsen
jorgen.larsen at ioi.dk
Sat Dec 6 10:19:20 EST 2003
Weird it works... ;)
> Jørgen Larsen wrote at 2003-12-5 09:24 +0100:
>>Here is some more code:
>>
>>class Resource:
>>
>> manage_main = HTMLFile('resEdit', globals(),language='English')
>>
>> def refresh(self):
>> manage_main = HTMLFile('resEdit', globals(),language='English')
>>
>>
>>I hope thats another case?
>
> It is not. "refresh" is still an expensive no-op...
>
>>-----Original Message-----
>>From: Dieter Maurer [mailto:dieter at handshake.de]
>>Sent: 4. december 2003 21:13
>>To: Jørgen Larsen
>>Cc: zope at zope.org
>>Subject: RE: [Zope] Moving the Data.fs
>>
>>
>>Jørgen Larsen wrote at 2003-12-4 08:47 +0100:
>>> ...
>>>def refresh(self):
>>> manage_main = HTMLFile('resEdit', globals(),language='English')
>>
>>That looks funny (and wrong):
>>
>> You assign "HTMLFile()" to a local variable.
>>
>> This should have no effect (other than consuming time).
>
>
> --
> Dieter
More information about the Zope
mailing list