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

reviewable/pr18780/r1
Shinichi TAMURA 9 years ago committed by Brian Coca
parent 9392943915
commit ba6aa8b013

@ -119,7 +119,7 @@ def main():
name = dict(required=True, aliases=['pkg'], type='str'), name = dict(required=True, aliases=['pkg'], type='str'),
question = dict(required=False, aliases=['setting', 'selection'], 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']), 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'), unseen = dict(required=False, type='bool'),
), ),
required_together = ( ['question','vtype', 'value'],), required_together = ( ['question','vtype', 'value'],),

Loading…
Cancel
Save