summaryrefslogtreecommitdiffstats
path: root/python.d
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <ahferroin7@gmail.com>2018-06-05 15:09:11 -0400
committerAustin S. Hemmelgarn <ahferroin7@gmail.com>2018-06-11 07:51:49 -0400
commitc889c433c59a42d4a8737400cb1e7db81b351c03 (patch)
tree8674d0dab26aa24ca86a4065be6e3f7f3b52122e /python.d
parent6f2abd371fd6ee684fe5419e91284acd38ad4105 (diff)
Moved line continuation so Codacy doesn't lose it's mind.
Diffstat (limited to 'python.d')
-rw-r--r--python.d/boinc.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.d/boinc.chart.py b/python.d/boinc.chart.py
index 7eac6ce202..6dfdabb6c2 100644
--- a/python.d/boinc.chart.py
+++ b/python.d/boinc.chart.py
@@ -138,11 +138,11 @@ class Service(SimpleService):
return self.connect()
def is_alive(self):
- if (not self.alive) or \
# TODO: This final check should ideally not be needed, but the
# boinc_client code does not currenlty handle remote disconnects
# gracefully in a threaded environment. This is the only thing
# making this module Linux specific.
+ if (not self.alive) or \
self.client.rpc.sock.getsockopt(socket.IPPROTO_TCP, socket.TCP_INFO, 0) != 1:
return self.reconnect()
return True