소스 검색

Working simple operations for execution (single thread)

Yentl Van Tendeloo 7 년 전
부모
커밋
8014db80b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      model/model.py

+ 1 - 1
model/model.py

@@ -441,7 +441,7 @@ class ModelverseInterface(AtomicDEVS):
                 elif self.state.send_operations == []:
                     # At the end of these operations, so finish up!
                     if self.state.had_key is not None:
-                        self.state.keyed_operations.pop(self.state.had_key)
+                        self.state.keyed_operations.pop(self.state.op_name)
                         self.state.additional_taskname = self.state.had_key
                         self.state.additional_operations.insert(0, [])
                         self.state.send_operations = ["__continue__"]