@cryptotaxi247 / netdata-1 / commits / c889c433c

Moved line continuation so Codacy doesn't lose it's mind.

Austin S. Hemmelgarn committed Jun 5, 2018 at 15:09 UTC c889c433c59a42d4a8737400cb1e7db81b351c03
1 file changed +1 -1
python.d/boinc.chart.py
+1 -1
@@ -138,11 +138,11 @@ class Service(SimpleService):
138 return self.connect()
139
140 def is_alive(self):
141 - if (not self.alive) or \
141 # TODO: This final check should ideally not be needed, but the
142 # boinc_client code does not currenlty handle remote disconnects
143 # gracefully in a threaded environment. This is the only thing
144 # making this module Linux specific.
145 + if (not self.alive) or \
146 self.client.rpc.sock.getsockopt(socket.IPPROTO_TCP, socket.TCP_INFO, 0) != 1:
147 return self.reconnect()
148 return True