[apparmor] [patch] Improve __repr__() for *Ruleset
Steve Beattie
steve at nxnw.org
Mon Jan 25 21:33:43 UTC 2016
On Mon, Dec 21, 2015 at 11:10:35PM +0100, Christian Boltz wrote:
> Hello,
>
> if a *Ruleset is empty, let __repr__() print/return
>
> <FooRuleset (empty) />
>
> instead of
>
> <FooRuleset>
> </FooRuleset>
>
>
> I propose this patch for trunk and 2.10.
>
>
> [ 42-improve-repr-empty-ruleset.diff ]
Acked-by: Steve Beattie <steve at nxnw.org> for both. Thanks.
--
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/20160125/185d5b6c/attachment.pgp>
More information about the AppArmor
mailing list