Skip to contentSkip to conversation

policycoreutils: Fix semange alternative logging code

PATCH New Laurent Bigonville 1 participant 1 message Oct 2, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 policycoreutils: Fix semange alternative logging code

From: Laurent Bigonville <[email protected]>

Fix semanage logging code when python-audit is not installed

---
 policycoreutils/semanage/seobject.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semanage/seobject.py +1 -1
index ad7dc8c..42d246f 100644
@@ -87,7 +87,7 @@ except:
 			self.log_list=[]
 
 		def log(self, msg, name = "", sename = "", serole = "", serange = "", oldsename = "", oldserole = "", oldserange = ""):
-			message += " %s name=%s" % (msg, name)
+			message = " %s name=%s" % (msg, name)
 			if sename != "":
 				message += " sename=" + sename
 			if oldsename != "":
Signature · 7 lines
1.7.10.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.