diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py
index 1c6d06fb2381b43bdf102594503e5466675acb0e..472554bf485533d7c1a4069a3d7a2f3b815f37be 100644
--- a/product/ERP5Type/Utils.py
+++ b/product/ERP5Type/Utils.py
@@ -444,15 +444,14 @@ def updateGlobals(this_module, global_hook,
     # Add _dtmldir
     this_module._dtmldir = os.path.join( product_path, 'dtml' )
 
+    module_list = (
+        ('PropertySheet', importLocalPropertySheet),
+        ('interfaces', importLocalInterface),
+        ('Constraint', importLocalConstraint),
+    )
     # Update PropertySheet Registry
-    for module_id in ('PropertySheet', 'interfaces', 'Constraint'):
+    for module_id, import_method in module_list:
       path, module_id_list = getModuleIdList(product_path, module_id)
-      if module_id == 'PropertySheet':
-        import_method = importLocalPropertySheet
-      elif module_id == 'interfaces':
-        import_method = importLocalInterface
-      elif module_id == 'Constraint':
-        import_method = importLocalConstraint
       for module_id in module_id_list:
         import_method(module_id, path=path)