Commit 718ab37e 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 7a33009f
...@@ -61,7 +61,6 @@ class _(PatchClass(ExternalMethod)): ...@@ -61,7 +61,6 @@ class _(PatchClass(ExternalMethod)):
if component_module is None: if component_module is None:
# Fall back on filesystem # Fall back on filesystem
if not reload: if not reload:
# TODO Zope4: DevelopmentMode is True ( on Zope2 Globals.DevelopmentMode was False )
from Products.ERP5Type.Globals import DevelopmentMode from Products.ERP5Type.Globals import DevelopmentMode
if DevelopmentMode: if DevelopmentMode:
try: 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