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

@ -6,7 +6,7 @@
#
# SABnzbd : http://sabnzbd.org/
#
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@ -26,7 +26,7 @@
# [sabnzbd*]
# env.host http://host:port/
# env.api apikey
#
#
use strict;
use XML::Simple;
@ -62,7 +62,7 @@ my $req = $get->get($sURL);
my $vals = $req->content();
my $xmlvals = $xml->XMLin($vals);
#get/output vals
#get/output vals
my $left = $xmlvals->{mbleft};
$left =~ /(\d+)\./;
print "rem.value ".$1."\n";

View file

@ -6,7 +6,7 @@
#
# SABnzbd : http://sabnzbd.org/
#
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@ -26,7 +26,7 @@
# [sabnzbd*]
# env.host http://host:port/
# env.api apikey
#
#
use strict;
use XML::Simple;
@ -65,4 +65,4 @@ my $xmlvals = $xml->XMLin($vals);
#get/output vals
my $speed = $xmlvals->{kbpersec};
$speed =~ /(\d+)\./;
print "speed.value ".$1."\n";
print "speed.value ".$1."\n";