7 Jun
2006
7 Jun
'06
12:41 p.m.
--On 7. Juni 2006 14:28:03 +0200 Florent Guillaume <fg@nuxeo.com> 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