From 96a29dae9bdcb0cadb64db06b61f1bafc897deb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Fri, 18 Dec 2015 10:56:36 +0900 Subject: [PATCH] Fix config validation to accept new keymap format Commit I0cd0884e0e1f4f0fa82f93e5f7438ff00c5a992aadded support for sequences of keys input but config file validation was not updated to reflect the change. Change-Id: I9c648686737262148a16d3228413da5939677000 --- gertty/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gertty/config.py b/gertty/config.py index 2b099f5..b4812a7 100644 --- a/gertty/config.py +++ b/gertty/config.py @@ -98,7 +98,7 @@ class ConfigSchema(object): 'reverse': bool} keymap = {v.Required('name'): str, - v.Match('(?!name)'): v.Any([str], str)} + v.Match('(?!name)'): v.Any([[str], str], [str], str)} keymaps = [keymap]