remove unused var (#5332)
Ilya Mashchenko committed
Feb 5, 2019 at 18:03 UTC
283443a46ab56b7409fafcbc969a1fd65545328a
1 file changed
+1
-1
collectors/python.d.plugin/portcheck/portcheck.chart.py
+1
-1
@@ -118,7 +118,7 @@ class Service(SimpleService):
118
:return: dict
119
"""
120
121
- _, _, proto, _, sa = socket_config
121
+ _, _, _, _, sa = socket_config
122
port = str(sa[1])
123
try:
124
self.debug('Connecting socket to "{address}", port {port}'.format(address=sa[0], port=port))