~osomon/apparmor/newer-nvidia-abstraction-trunk

Viewing all changes in revision 3622.

  • Committer: Christian Boltz
  • Date: 2017-01-19 15:54:47 UTC
  • Revision ID: apparmor@cboltz.de-20170119155447-25gcx3n5968wdbh8
[7/7] Drop most of aa-mergeprof ask_the_questions()

Replace most of aa-mergeprof ask_merge_questions() with a call to
aa.py ask_the_questions() (which is, besides some small exceptions that
are not relevant for aa-mergeprof, in sync with the dropped code).

The remaining part gets renamed to ask_merge_questions() to avoid
confusion with the function name in aa.py. Also drop the (now
superfluous) parameter.

aa.py ask_the_questions() needs to allow 'merge' as aamode.
While on it, replace the fatal_error() call for unknown aamode with
raising an AppArmorBug.


Acked-by: Seth Arnold <seth.arnold@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: