From 99e61e3a7a2a009eedecb59656d3da7690f45d7b Mon Sep 17 00:00:00 2001 From: paulfantom Date: Wed, 22 Jun 2016 16:33:38 +0200 Subject: [PATCH] PEP8 formatting --- python.d/apache.chart.py | 20 ++++++++++---------- python.d/python_modules/base.py | 1 - 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/python.d/apache.chart.py b/python.d/apache.chart.py index b2d63a78..41d7808a 100644 --- a/python.d/apache.chart.py +++ b/python.d/apache.chart.py @@ -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): """ diff --git a/python.d/python_modules/base.py b/python.d/python_modules/base.py index 69898944..aebe8215 100644 --- a/python.d/python_modules/base.py +++ b/python.d/python_modules/base.py @@ -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 -- 2.39.2