[Zope] Moving the Data.fs

Jørgen Larsen jorgen.larsen at ioi.dk
Fri Dec 5 03:24:28 EST 2003


Hi,

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 that’s another case?

Best Regards
Jørgen




-----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