1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
'''
=head1 NAME
tor_
tor_
=head1 DESCRIPTION
Wildcard plugin that gathers some metrics from the Tor deamon
@ -149,7 +149,7 @@ class TorPlugin(object):
print('no (failed to import the required python module "stem": {})'.format(e))
try:
import GeoIP
import GeoIP
except ImportError as e:
print('no (failed to import the required python module "GeoIP": {})'.format(e))
@ -426,7 +426,7 @@ class TorRouters(TorPlugin):
'category': 'network',
'info': 'known Tor onion routers'}
labels = {'routers': {'label': 'routers', 'min': 0, 'type': 'GAUGE'} }
TorPlugin.conf_from_dict(graph, labels)
@ -448,8 +448,8 @@ class TorRouters(TorPlugin):
onr = 0
for router in routers:
if router[0] == "r":
onr += 1
onr += 1
print('routers.value {}'.format(onr))
@ -491,7 +491,7 @@ class TorTraffic(TorPlugin):
##########################
# Main
# Main
##########################