[apparmor] [patch] Fix raising AppArmorException in aa-mergeprof

Steve Beattie steve at nxnw.org
Sun May 17 22:32:51 UTC 2015


On Sun, May 17, 2015 at 05:22:07PM +0200, Christian Boltz wrote:
> Hello,
> 
> aa-mergeprof failed to fail ;-) when it should raise an AppArmorException.
> Instead, it failed with
> 
>     AttributeError: 'module' object has no attribute 'AppArmorException'
> 
> 
> I confirmed this bug in trunk and 2.9, therefore I propose this patch
> for both.
> 
> 
> [ 07-mergeprof-exceptions.diff ]

Acked-by: Steve Beattie <steve at nxnw.org> for both.

I really wish pyflakes caught issues like this.

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150517/fd52de34/attachment.pgp>


More information about the AppArmor mailing list