wfh.flush()
except:
results['error'] -= 1
- if results['error'] == 0: return -1
syslog.syslog(142, "c_L_s write error:" + servicename)
+ if results['error'] == 0: return -1
continue
syslog.syslog(142, "c_Ls written data to " + servicename)
rr, wr, er = select([rfh], [], [], 3.0)
except:
newstatus = -1
+ syslog.syslog(142, "status, newstatus for %s is %i, %i" % (servicename, status, newstatus))
if newstatus != self.status:
+ syslog.syslog(142, "status changed detected for %s" % servicename)
self.status = newstatus
# emit signal
self.status_changed(newstatus)