summaryrefslogtreecommitdiffstats
path: root/monitorplugins
diff options
context:
space:
mode:
authorPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-25 19:22:54 +0100
committerPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-25 19:22:54 +0100
commit62debaff1a107a2a8229f4a8a804762cec142071 (patch)
tree189776412462e5c741df8892d3d0358d5ba84e88 /monitorplugins
parent2f9173b101917db44503436f213988248447409e (diff)
downloadtuned-62debaff1a107a2a8229f4a8a804762cec142071.tar.gz
tuned-62debaff1a107a2a8229f4a8a804762cec142071.tar.xz
tuned-62debaff1a107a2a8229f4a8a804762cec142071.zip
- Lots of whitespace changes
- Bump release - Some minor README changes
Diffstat (limited to 'monitorplugins')
-rw-r--r--monitorplugins/__init__.py3
-rw-r--r--monitorplugins/disk.py3
-rw-r--r--monitorplugins/net.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/monitorplugins/__init__.py b/monitorplugins/__init__.py
index de1aa0f..c728b11 100644
--- a/monitorplugins/__init__.py
+++ b/monitorplugins/__init__.py
@@ -13,5 +13,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
+# This file intentionally left blank and needed because of python module magic.
diff --git a/monitorplugins/disk.py b/monitorplugins/disk.py
index a66f4b6..6167c84 100644
--- a/monitorplugins/disk.py
+++ b/monitorplugins/disk.py
@@ -13,7 +13,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
import os
@@ -36,7 +36,6 @@ class DiskMonitor:
self.devices[d]["max"] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
print self.devices
-
def __calcdiff__(self, dev):
l = []
for i in xrange(len(self.devices[dev]["old"])):
diff --git a/monitorplugins/net.py b/monitorplugins/net.py
index 114f1f0..bf806f7 100644
--- a/monitorplugins/net.py
+++ b/monitorplugins/net.py
@@ -13,7 +13,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
import os