1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +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

@ -82,7 +82,7 @@ def get_data():
base64string = base64.standard_b64encode('%s:%s' % (http_user, http_pass))
if len(http_user) > 0 and len(http_pass) > 0:
#print "DEBUG: AUTH: " + base64string
request.add_header("Authorization", "Basic %s" % base64string)
request.add_header("Authorization", "Basic %s" % base64string)
#print "DEBUG: GET: " + url
raw_data = urllib2.urlopen(request).read()
#print "DEBUG: " + raw_data
@ -129,7 +129,7 @@ def munin_config(response):
for key in section:
print key + '.label ' + key.capitalize()
print key + '.draw AREASTACK'
if len(sys.argv) > 1 and sys.argv[1] == "config":
munin_config(get_data())
else: