@cryptotaxi247 / netdata-1 / commits / 9a185355c

"exim" module update

lgz committed Oct 13, 2017 at 21:13 UTC 9a185355cb6bbb9537084e3ad94e39e553baa5cf
2 files changed +3 -3
python.d/exim.chart.py
+1 -1
@@ -2,7 +2,7 @@
2 # Description: exim netdata python.d module
3 # Author: Pawel Krupa (paulfantom)
4
5 -from base import ExecutableService
5 +from bases.FrameworkServices.ExecutableService import ExecutableService
6
7 # default module values (can be overridden per job in `config`)
8 # update_every = 2
python.d/python_modules/bases/FrameworkServices/ExecutableService.py
+2 -2
@@ -72,8 +72,8 @@ class ExecutableService(SimpleService):
72 try:
73 data = self._get_data()
74 except Exception as error:
75 - self.error('_get_data() failed. Command: {command}. Error: error'.format(command=self.command,
76 - error=error))
75 + self.error('_get_data() failed. Command: {command}. Error: {error}'.format(command=self.command,
76 + error=error))
77 return False
78
79 if isinstance(data, dict) and data: