26 Mar
2007
26 Mar
'07
6:21 p.m.
On 3/26/07, Damien Baty <damien@pilotsystems.net> wrote:
manage_restart(self, URL1, REQUEST=None):
makes Zope start. 'REQUEST' is not used in this method, though. However, it is also not used in 'manage_shutdown()' but appears in its signature. I guess that adding it to 'manager_restart()' should not have any side-effect.
@postonly uses the REQUEST parameter, that's why it demands the parameter being present. Tres Seaver added the decorators to the Control_Panel and must've missed the REQUEST parameter on manage_restart, which only comes into effect when running the zope process with zopectl start. -- Martijn Pieters