Commit 46b818a0 authored by Jérome Perrin's avatar Jérome Perrin

importLocalConstraint should import Products.ERP5Type.Constraint, not Interface


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18244 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b1c9f3d
...@@ -465,7 +465,7 @@ def importLocalInterface(class_id, path = None): ...@@ -465,7 +465,7 @@ def importLocalInterface(class_id, path = None):
f.close() f.close()
def importLocalConstraint(class_id, path = None): def importLocalConstraint(class_id, path = None):
import Products.ERP5Type.Interface import Products.ERP5Type.Constraint
if path is None: if path is None:
instance_home = getConfiguration().instancehome instance_home = getConfiguration().instancehome
path = os.path.join(instance_home, "Constraint") path = os.path.join(instance_home, "Constraint")
......
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