-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJpNasACgkQrlYvE4MpobPriQCgvRroK9q4XtV16isW96I8EWtP 514AoIAmQgnCyT6tuDii0ONWvxqFe2Xq =VURR -----END PGP SIGNATURE-----
>From 7c9c2c11fa2f9c66b44ebf74eb3fdcda9f36fca0 Mon Sep 17 00:00:00 2001 From: Dan Walsh <dwalsh@xxxxxxxxxx> Date: Fri, 11 Oct 2013 08:53:28 -0400 Subject: [PATCH 50/74] Only list disabled modules if the user ask for locallist on modules --- policycoreutils/semanage/seobject.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policycoreutils/semanage/seobject.py b/policycoreutils/semanage/seobject.py index 72dd67b..7bea397 100644 --- a/policycoreutils/semanage/seobject.py +++ b/policycoreutils/semanage/seobject.py @@ -302,6 +302,8 @@ class moduleRecords(semanageRecords): if t[2] == 0: disabled = _("Disabled") else: + if locallist: + continue disabled = "" print "%-25s%-10s%s" % (t[0], t[1], disabled) -- 1.8.3.1