Control: tags -1 + patch

The attached patch fixes this bug.

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
From 3ac419bc8402b790a42555adfeab44a5e60295ad Mon Sep 17 00:00:00 2001
From: Gerald Turner <gtur...@unzane.com>
Date: Mon, 19 Nov 2018 15:44:37 -0800
Subject: [PATCH] Fix Debian bug #914138: ipmi_sensor_ python error:
 AttributeError: 'str' object has no attribute 'decode'

---
 plugins/node.d/ipmi_sensor_.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/node.d/ipmi_sensor_.in b/plugins/node.d/ipmi_sensor_.in
index aebf5c72..e13dcca9 100644
--- a/plugins/node.d/ipmi_sensor_.in
+++ b/plugins/node.d/ipmi_sensor_.in
@@ -221,7 +221,6 @@ UNITS_TO_SENSORS = {
 
 if access(CONFIG, R_OK):
     for line in open(CONFIG):
-        line = line.decode()
         if line.strip().startswith('#'):
             continue
         data = line.split('=', 1)
-- 
2.19.1

Attachment: signature.asc
Description: PGP signature

Reply via email to