From: James Andrewartha Date: Mon, 26 Oct 2009 03:07:00 +0000 (+0800) Subject: fail less X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5b9ac7b57e1da38571cb111e8c0005ce6dee035c;p=uccdoor.git fail less --- diff --git a/server.py b/server.py index 91fa630..4bdcdd0 100755 --- a/server.py +++ b/server.py @@ -72,7 +72,7 @@ class Door(dbus.service.Object): newstatus = -1 if newstatus != self.status: - syslog.syslog(142, "status changed detected for %s; status: %i, newstatus: %i" % self.service, self.status, newstatus) + syslog.syslog(142, "status changed detected for %s; status: %i, newstatus: %i" % (self.service, self.status, newstatus)) self.status = newstatus # emit signal self.status_changed(newstatus)