Fix incorrect options being displayed for capabilites in aa.py

The following patch:
- ensures the options are passed correctly in the expected form.

Acked-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
Kshitij Gupta 2014-09-08 18:01:18 +05:30
parent e5528ff87b
commit f63f08d79a

View file

@ -1556,7 +1556,7 @@ def ask_the_questions():
if options:
options.append('capability %s' % capability)
q['options'] = [options]
q['options'] = options
q['selected'] = default_option - 1
q['headers'] = [_('Profile'), combine_name(profile, hat)]