Skip to content

Commit 8515e2c

Browse files
committed
correct remaining formatting findings
Signed-off-by: hwassman <[email protected]>
1 parent 62b262c commit 8515e2c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/opentsdb.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,9 @@ def _parse_input_query_filters(self, input_filters: dict) -> (dict, list):
226226
filters[tagk] = f.get('filter')
227227

228228
except ValueError as e:
229-
self.logger.error(MSG['QueryError'].format(str(e)))
230-
raise cherrypy.HTTPError(400, MSG['QueryError'].format(str(e)))
229+
self.logger.error(MSG['QueryError'].format(str(e)))
230+
raise cherrypy.HTTPError(400, MSG['QueryError'].format(str(e)))
231+
231232
return (filters, groupby)
232233

233234
def _get_downsmpl_op(self, downsample):
@@ -358,9 +359,9 @@ def parse_result_tags(self, identifiersMap):
358359

359360
class SingleTimeSeriesResponse():
360361

361-
def __init__(self, inputQuery, dps, showQuery = False,
362+
def __init__(self, inputQuery, dps, showQuery=False,
362363
globalAnnotations=False, tags: dict = None,
363-
aggrTags: list=None):
364+
aggrTags: list = None):
364365
self.metric = inputQuery.get('metric')
365366
self.dps = dps
366367
if showQuery:

0 commit comments

Comments
 (0)