]> arthur.barton.de Git - netdata.git/commitdiff
second run
authorpaulfantom <paulfantom@gmail.com>
Sat, 18 Jun 2016 16:49:48 +0000 (18:49 +0200)
committerpaulfantom <paulfantom@gmail.com>
Sat, 18 Jun 2016 16:49:48 +0000 (18:49 +0200)
plugins.d/python.d.plugin
python.d/Makefile.am
python.d/python_modules/base.py

index 418ea91263ca5a2ad9ae0f969972ee41b5328016..be319c04fd5e9fcc0809ebf77802d7d62c06e604 100755 (executable)
@@ -206,7 +206,6 @@ class PythonCharts(object):
                 self._stop(job, "no check")
             except (UnboundLocalError, Exception) as e:
                 self._stop(job, "misbehaving. Reason: " + str(e))
-        print("CHECK OK")
 
     def create(self):
     # try to execute create() on every job
@@ -230,7 +229,6 @@ class PythonCharts(object):
                 self._stop(job, "no create")
             except (UnboundLocalError, Exception) as e:
                 self._stop(job, "misbehaving. Reason: " + str(e))
-        print("CREATE OK")
 
     def _update_job(self, job):
     # try to execute update() on every job and draw run time graph 
index fa39c8fe58163d7683aabff7a08ce3844f7d9f5c..7a4ea46fc7f3bf059b8f4cf5b7b11a1892513720 100644 (file)
@@ -12,5 +12,6 @@ dist_python_DATA = \
 pythonmodulesdir=$(pythondir)/python_modules
 dist_pythonmodules_DATA = \
        python_modules/__init__.py
+       python_modules/base.py
        $(NULL)
 
index 9c1f76c3c995ca999105b3615f9dc4f4d4635ff4..bfbe07356621e0bf58836f7c66047c21e7f08416 100644 (file)
@@ -7,7 +7,6 @@ import sys
 
 class BaseService(object):
     def __init__(self,name=None,configuration=None):
-        print(configuration)
         if configuration is None:
             self.error("BaseService: no configuration parameters supplied. Cannot create Service.")
             raise RuntimeError