Index: client/bin/factory.py |
diff --git a/client/bin/factory.py b/client/bin/factory.py |
index 97067c541d560a2289952ed03ece05ec7ecb81b7..962d7cdec7b9a7ef1124b40b41e50b9e5fa9ce0c 100644 |
--- a/client/bin/factory.py |
+++ b/client/bin/factory.py |
@@ -348,7 +348,8 @@ class ControlState: |
self._job.run_test(test.autotest_name, **dargs) |
self._job.drop_caches_between_iterations = False |
self._log_data.read_new_data() |
- activated_ks = self._log_data.shared_dict.pop('activated_kbd_shortcut') |
+ activated_ks = self._log_data.shared_dict.pop( |
+ 'activated_kbd_shortcut', None) |
lookup = self._status_map.test_db.get_test_by_kbd_shortcut |
self.activated_kbd_shortcut_test = ( |
activated_ks and lookup(activated_ks) or None) |