From f3be0cdc2dc022a8345b48e6986899965cbe0c9b Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Sun, 30 Apr 2017 19:21:50 +0100 Subject: Refresh patch 0004 --- debian/patches/0004-use-system-python-yaml-library.patch | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/debian/patches/0004-use-system-python-yaml-library.patch b/debian/patches/0004-use-system-python-yaml-library.patch index c4a0912b0..8e4ab5e8c 100644 --- a/debian/patches/0004-use-system-python-yaml-library.patch +++ b/debian/patches/0004-use-system-python-yaml-library.patch @@ -6,11 +6,9 @@ Subject: use system python-yaml library plugins.d/python.d.plugin | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) -diff --git a/plugins.d/python.d.plugin b/plugins.d/python.d.plugin -index b4e6473..867fe5b 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin -@@ -55,19 +55,11 @@ except (AssertionError, ImportError): +@@ -55,15 +55,8 @@ msg.info('Using python v2') except ImportError: msg.fatal('Cannot start. No importlib.machinery on python3 or lack of imp on python2') @@ -27,7 +25,3 @@ index b4e6473..867fe5b 100755 except ImportError: msg.fatal('Cannot find yaml library') -- - class PythonCharts(object): - """ - Main class used to control every python module. -- cgit v1.2.3