Make _check_raw_data() a static method.
Austin S. Hemmelgarn committed
May 2, 2018 at 11:18 UTC
8a24f23387e38b162de465a524c543c73544f71c
1 file changed
+2
-1
python.d/unbound.chart.py
+2
-1
@@ -148,7 +148,8 @@ class Service(SocketService):
148
self._disconnect()
149
return result
150
151
- def _check_raw_data(self, data):
151
+ @staticmethod
152
+ def _check_raw_data(data):
153
# The server will close the connection when it's done sending
154
# data, so just keep looping until that happens.
155
return False