Re: [apparmor] [patch] utils: split out disable functionality in apparmor/tools.py

2014-02-27 Thread Seth Arnold
On Mon, Feb 24, 2014 at 12:16:49PM -0800, Steve Beattie wrote: This patch splits out the disable functionality from the apparmor/tools.py:act() method into a separate cmd_disable() method. The intent is to unwind the logic in act() into smaller, more digestible chunks, while sharing

[apparmor] [patch] utils: split out disable functionality in apparmor/tools.py

2014-02-24 Thread Steve Beattie
This patch splits out the disable functionality from the apparmor/tools.py:act() method into a separate cmd_disable() method. The intent is to unwind the logic in act() into smaller, more digestible chunks, while sharing commonality via helper functions (e.g. the added get_next_to_profile()