Re: [apparmor] [patch] Replace duplicate code in aa-mergeprof with a loop

2015-06-01 Thread Steve Beattie
On Sun, May 24, 2015 at 11:23:54PM +0200, Christian Boltz wrote: > now that the handling for capability and network rules is the same, > wrap the former network rule-only code with > for ruletype in ['capability', 'network']: > and delete the superfluous ;-) capabiltiy code block. > > Needless

[apparmor] [patch] Replace duplicate code in aa-mergeprof with a loop

2015-05-24 Thread Christian Boltz
Hello, now that the handling for capability and network rules is the same, wrap the former network rule-only code with for ruletype in ['capability', 'network']: and delete the superfluous ;-) capabiltiy code block. Needless to say that future updates for other rule types will be quite easy ;