Added 'answer' as an alias of 'value' on debconf module (#2464)

This commit is contained in:
Shinichi TAMURA 2016-06-22 21:53:16 +09:00 committed by Matt Clay
parent 9b41c6bfe3
commit 73b2f89539

View file

@ -119,7 +119,7 @@ def main():
name = dict(required=True, aliases=['pkg'], type='str'),
question = dict(required=False, aliases=['setting', 'selection'], type='str'),
vtype = dict(required=False, type='str', choices=['string', 'password', 'boolean', 'select', 'multiselect', 'note', 'error', 'title', 'text', 'seen']),
value= dict(required=False, type='str'),
value = dict(required=False, type='str', aliases=['answer']),
unseen = dict(required=False, type='bool'),
),
required_together = ( ['question','vtype', 'value'],),