Fix bug in logger.

If you do not use auding, the syslog calls blows up because of this bug.
This commit is contained in:
Dan Walsh 2013-10-11 08:50:06 -04:00 committed by Stephen Smalley
parent 3c1d51c01a
commit 8d7f15a95a

View File

@ -104,7 +104,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 != "":