diff options
-rw-r--r-- | debian/patches/debian/0001-use-system-python.patch | 18 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/debian/patches/debian/0001-use-system-python.patch b/debian/patches/debian/0001-use-system-python.patch deleted file mode 100644 index b52273910..000000000 --- a/debian/patches/debian/0001-use-system-python.patch +++ /dev/null @@ -1,18 +0,0 @@ -Author: Lennart Weller <lhw@ring0.de> -Description: Ignore embedded python modules. - -diff -Naurp netdata.orig/src/collectors/python.d.plugin/python_modules/bases/loaders.py netdata/src/collectors/python.d.plugin/python_modules/bases/loaders.py ---- netdata.orig/src/collectors/python.d.plugin/python_modules/bases/loaders.py -+++ netdata/src/collectors/python.d.plugin/python_modules/bases/loaders.py -@@ -9,10 +9,7 @@ from sys import version_info - PY_VERSION = version_info[:2] - - try: -- if PY_VERSION > (3, 1): -- from pyyaml3 import SafeLoader as YamlSafeLoader -- else: -- from pyyaml2 import SafeLoader as YamlSafeLoader -+ from yaml import SafeLoader as YamlSafeLoader - except ImportError: - from yaml import SafeLoader as YamlSafeLoader - diff --git a/debian/patches/series b/debian/patches/series index 93918bcc1..17a2f5a33 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,3 @@ -debian/0001-use-system-python.patch debian/0003-use-python3.patch debian/0004-use-bash.patch debian/0005-send-email.patch |