--On 7. Juni 2006 14:28:03 +0200 Florent Guillaume <[EMAIL PROTECTED]> wrote:

Stefan H. Holek wrote:
I use this to set debug-mode off:

    # Switch off debug mode
    import App.config
    config = App.config.getConfiguration()
    config.debug_mode = 0
    App.config.setConfiguration(config)

The setConfiguration() is probably unnecessary, you're modifying a
mutable datastructure.

Probably unnecessary but one should not depend on an implementation
detail in this case.

-aj

Attachment: pgpTts7ZTWOGr.pgp
Description: PGP signature

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  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