瀏覽代碼

Release: 76b84b0902

master
Dirk Alders 4 年之前
父節點
當前提交
362cb1fc17
共有 3 個文件被更改,包括 4853 次插入4349 次删除
  1. 2
    1
      __init__.py
  2. 4851
    4348
      _testresults_/unittest.json
  3. 二進制
      _testresults_/unittest.pdf

+ 2
- 1
__init__.py 查看文件

@@ -185,7 +185,8 @@ class state_machine(object):
185 185
         self.__time_stamp_state_change__ = timestamp
186 186
         self.__conditions_start_time__ = {}
187 187
         # Callback collect
188
-        this_state_change_callbacks = self.__state_change_callbacks__.get(None, {}).get(None, [])
188
+        this_state_change_callbacks = []
189
+        this_state_change_callbacks.extend(self.__state_change_callbacks__.get(None, {}).get(None, []))
189 190
         this_state_change_callbacks.extend(self.__state_change_callbacks__.get(target_state, {}).get(None, []))
190 191
         this_state_change_callbacks.extend(self.__state_change_callbacks__.get(None, {}).get(condition, []))
191 192
         this_state_change_callbacks.extend(self.__state_change_callbacks__.get(target_state, {}).get(condition, []))

+ 4851
- 4348
_testresults_/unittest.json
文件差異過大導致無法顯示
查看文件


二進制
_testresults_/unittest.pdf 查看文件


Loading…
取消
儲存