Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Whitespace cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
mheffner committed Oct 23, 2013
1 parent 0fca0da commit 7962397
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/collectd-librato.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,16 @@ def librato_write(v, data=None):
metric_name = config['metric_separator'].join(name_tuple)
if config['lower_case']:
metric_name = metric_name.lower()

regexs = config.get('include_regex', [])
matches = len(regexs) == 0
for regex in regexs:
if re.match(regex, metric_name):
matches = True
break
if re.match(regex, metric_name):
matches = True
break

if not matches:
continue
continue

measurement = {
'name' : metric_name,
Expand Down

0 comments on commit 7962397

Please sign in to comment.