Selaa lähdekoodia

Working simple operations for execution (single thread)

Yentl Van Tendeloo 7 vuotta sitten
vanhempi
commit
8014db80b1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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__"]