Commit f36cad7d authored by Arnaud Fontaine's avatar Arnaud Fontaine

zope4: Globals.DevelopmentMode was already set to True on zope2.

Globals.DevelopmentMode initial value is False but it is initialized to True at
Zope startup (App.config.{setConfiguration,DefaultConfiguration}).
parent 3f47b640
......@@ -61,7 +61,6 @@ class _(PatchClass(ExternalMethod)):
if component_module is None:
# Fall back on filesystem
if not reload:
# TODO Zope4: DevelopmentMode is True ( on Zope2 Globals.DevelopmentMode was False )
from Products.ERP5Type.Globals import DevelopmentMode
if DevelopmentMode:
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment