Skip to content

Commit c3da87c

Browse files
authored
Fix comparison operator in completion_engine.py
1 parent 4f325ab commit c3da87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capsul/attributes/completion_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ def get_completion_engine(self, process, name=None):
989989
if hasattr(process, 'completion_engine'):
990990
ce = process.completion_engine
991991
# just in case the process has been changed in the CE
992-
if ce and ce.process is not process:
992+
if ce and ce.process != process:
993993
ce.process = weak_proxy(process, ce._clear_node)
994994
return ce
995995

0 commit comments

Comments
 (0)