On 3/26/07, Damien Baty <[EMAIL PROTECTED]> 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
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to