All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix bug in semanage fcontext
@ 2009-11-19 20:51 Chad Sellers
  0 siblings, 0 replies; only message in thread
From: Chad Sellers @ 2009-11-19 20:51 UTC (permalink / raw)
  To: selinux

Apparently I failed to split out the whitespace changes from a
previous patchset, and a bit of the equivalence patch of the
day snuck in. This causes a stack trace when you execute
semanage fcontext -l. This patch reverts the accidentally
included code.

Signed-off-by: Chad Sellers <csellers@tresys.com>
---
 policycoreutils/semanage/seobject.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/policycoreutils/semanage/seobject.py b/policycoreutils/semanage/seobject.py
index 3c9b09f..b7d257b 100644
--- a/policycoreutils/semanage/seobject.py
+++ b/policycoreutils/semanage/seobject.py
@@ -1575,12 +1575,6 @@ class fcontextRecords(semanageRecords):
 					print "%-50s %-18s %s:%s:%s " % (k[0], k[1], fcon_dict[k][0], fcon_dict[k][1],fcon_dict[k][2])
 			else:
 				print "%-50s %-18s <<None>>" % (k[0], k[1])
-                if len(self.equiv.keys()) > 0:
-                       if heading:
-                              print _("\nSELinux fcontext Equivalence \n")
-                       
-                       for src in self.equiv.keys():
-                              print "%s == %s" % (src, self.equiv[src])
 				
 class booleanRecords(semanageRecords):
 	def __init__(self, store = ""):
-- 
1.6.2.5


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-19 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-19 20:51 [PATCH] Fix bug in semanage fcontext Chad Sellers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.