Commit 8e41a4fd authored by Jérome Perrin's avatar Jérome Perrin

disable some trucs

parent 7e2c3d49
......@@ -364,15 +364,12 @@ def synchronizeDynamicModules(context, force=False, reset_test=True):
LOG("ERP5Type.dynamic", 0, "Resetting dynamic classes (reset_test:%s)" %
reset_test)
if reset_test:
import ipdb; ipdb.set_trace()
#if reset_test:
# import ipdb; ipdb.set_trace()
try:
for class_name, klass in inspect.getmembers(erp5.portal_type,
inspect.isclass):
if reset_test:
klass.restoreGhostState()
elif not 'Test' in class_name:
klass.restoreGhostState()
klass.restoreGhostState()
# Clear accessor holders of ZODB Property Sheets and Portal Types
erp5.accessor_holder.clear()
......
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