summaryrefslogtreecommitdiff
path: root/bin
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2016-02-15 10:01:40 +0000
committerSylvain Pineau <>2016-02-15 10:01:40 +0000
commite2dd245ca6ddb23f8b969c8d9f95eaaa312874c4 (patch)
tree2284d2ac6c20bb008cfe90df0f692daab50f0262 /bin
parent9cdce52beb44e3e69e209d8373889f5615eb183a (diff)
parent8cb3ed85c0577f50122bf03b0ffb444fe2d397e6 (diff)
"automatic merge of lp:~sylvain-pineau/checkbox/fix-1503677/ by tarmac [r=sylvain-pineau][bug=1503677][author=sylvain-pineau]"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/key_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/key_test b/bin/key_test
index 35fae77..3cf7ae0 100755
--- a/bin/key_test
+++ b/bin/key_test
@@ -163,7 +163,7 @@ class Reporter(object):
# Check for ESC key pressed
self.show_text(_("Test cancelled"))
self.quit()
- elif code > 1 and code < 10:
+ elif 1 < code < 10 and type(self) == CLIReporter:
# Check for number to skip
self.toggle_key(self.keys[code - 2])
else: