]> arthur.barton.de Git - netdata.git/commitdiff
PEP8 formatting
authorpaulfantom <paulfantom@gmail.com>
Wed, 22 Jun 2016 14:33:38 +0000 (16:33 +0200)
committerpaulfantom <paulfantom@gmail.com>
Wed, 22 Jun 2016 14:33:38 +0000 (16:33 +0200)
python.d/apache.chart.py
python.d/python_modules/base.py

index b2d63a78cdf7fc48fd549db52fd72b99203554de..41d7808a7159760711b3efbc6afae9c3be918838 100644 (file)
@@ -86,16 +86,16 @@ class Service(UrlService):
         self.order = ORDER
         self.charts = CHARTS
         self.assignment = {"BytesPerReq": 'size_req',
-                          "IdleWorkers": 'idle',
-                          "BusyWorkers": 'busy',
-                          "ReqPerSec": 'requests_sec',
-                          "BytesPerSec": 'size_sec',
-                          "Total Accesses": 'requests',
-                          "Total kBytes": 'sent',
-                          "ConnsTotal": 'connections',
-                          "ConnsAsyncKeepAlive": 'keepalive',
-                          "ConnsAsyncClosing": 'closing',
-                          "ConnsAsyncWriting": 'writing'}
+                           "IdleWorkers": 'idle',
+                           "BusyWorkers": 'busy',
+                           "ReqPerSec": 'requests_sec',
+                           "BytesPerSec": 'size_sec',
+                           "Total Accesses": 'requests',
+                           "Total kBytes": 'sent',
+                           "ConnsTotal": 'connections',
+                           "ConnsAsyncKeepAlive": 'keepalive',
+                           "ConnsAsyncClosing": 'closing',
+                           "ConnsAsyncWriting": 'writing'}
 
     def _formatted_data(self):
         """
index 69898944f12541d7667a3f870fab0e6858245b02..aebe821511050689fee9bf30e5e9e866820e6da1 100644 (file)
@@ -118,7 +118,6 @@ class UrlService(BaseService):
         self.url = ""
         BaseService.__init__(self, configuration=configuration, name=name)
 
-
     def _get_data(self):
         """
         Get raw data from http request