summaryrefslogtreecommitdiffstats
path: root/contrib/sles11/netdata-python-plugin-sles11.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:14 +0000
commitbb50acdcb8073654ea667b8c0272e335bd43f844 (patch)
tree1e00c8a29871426f8182658928dcb62e42d57ce8 /contrib/sles11/netdata-python-plugin-sles11.patch
parentReleasing debian version 1.33.1-1. (diff)
downloadnetdata-bb50acdcb8073654ea667b8c0272e335bd43f844.tar.xz
netdata-bb50acdcb8073654ea667b8c0272e335bd43f844.zip
Merging upstream version 1.34.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/sles11/netdata-python-plugin-sles11.patch')
-rw-r--r--contrib/sles11/netdata-python-plugin-sles11.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/contrib/sles11/netdata-python-plugin-sles11.patch b/contrib/sles11/netdata-python-plugin-sles11.patch
deleted file mode 100644
index d2e8f6b69..000000000
--- a/contrib/sles11/netdata-python-plugin-sles11.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -u netdata-1.10.0.orig/plugins.d/python.d.plugin netdata-1.10.0/plugins.d/python.d.plugin
---- netdata-1.10.0.orig/plugins.d/python.d.plugin 2018-05-08 20:01:40.000000000 +0300
-+++ netdata-1.10.0/plugins.d/python.d.plugin 2018-05-08 20:06:57.000000000 +0300
-@@ -15,10 +15,8 @@
- from sys import version_info, argv
- from time import sleep
-
--try:
-- from time import monotonic as time
--except ImportError:
-- from time import time
-+# from time import monotonic as time
-+from time import time
-
- PY_VERSION = version_info[:2]
- PLUGIN_CONFIG_DIR = os.getenv('NETDATA_CONFIG_DIR', os.path.dirname(__file__) + '/../../../../etc/netdata') + '/'
-@@ -32,10 +30,7 @@
- from bases.loggers import PythonDLogger
- from bases.collection import setdefault_values, run_and_exit
-
--try:
-- from collections import OrderedDict
--except ImportError:
-- from third_party.ordereddict import OrderedDict
-+from ordereddict import OrderedDict
-
- BASE_CONFIG = {'update_every': os.getenv('NETDATA_UPDATE_EVERY', 1),
- 'retries': 60,