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
This commit is contained in:
Martin André 2015-12-18 10:56:36 +09:00 committed by James E. Blair
parent 7a041b0d19
commit 96a29dae9b
1 changed files with 1 additions and 1 deletions

View File

@ -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]