Commit 1530261d authored by François Ferry's avatar François Ferry
Browse files

fix: update code to recent version of CW

parent b16e576c356a
......@@ -47,7 +47,7 @@ def process_missing_dependency(cls, req, rset=None, eidfrom=None, eidto=None, **
"""Return 1 if the process has a dependency"""
if not eidfrom:
return 0
if req.entity_metas(eidfrom)["type"] != "DataTransformationProcess":
if req.entity_type(eidfrom) != "DataTransformationProcess":
return 0
if req.execute(
"Any X WHERE EXISTS(X process_depends_on Y)," " X eid %(eid)s",
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