Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: client/bin/factory.py

Issue 3124041: Fix normal (non-keyboard-shortcut) case. (Closed) Base URL: http://src.chromium.org/git/autotest.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698