[svn] r5668 - trunk/tools/dstat
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Thu Aug 2 14:00:49 CEST 2007
Author: dag
Date: 2007-08-02 14:00:48 +0200 (Thu, 02 Aug 2007)
New Revision: 5668
Modified:
trunk/tools/dstat/dstat
Log:
Small fix to swap plugin.
Modified: trunk/tools/dstat/dstat
===================================================================
--- trunk/tools/dstat/dstat 2007-08-01 21:21:58 UTC (rev 5667)
+++ trunk/tools/dstat/dstat 2007-08-02 12:00:48 UTC (rev 5668)
@@ -491,7 +491,7 @@
if op.cpulist:
list = op.cpulist
elif not op.full:
- list = ('total', )
+ list = ('total',)
else:
list = []
cpu = 0
@@ -551,7 +551,7 @@
if op.cpulist:
list = op.cpulist
elif not op.full:
- list = ('total', )
+ list = ('total',)
else:
list = []
cpu = 0
@@ -603,7 +603,7 @@
if op.disklist:
list = op.disklist
elif not op.full:
- list = ('total', )
+ list = ('total',)
else:
list = self.discover
# if len(list) > 2: list = list[0:2]
@@ -666,7 +666,7 @@
if op.disklist:
list = op.disklist
elif not op.full:
- list = ('total', )
+ list = ('total',)
else:
list = self.discover
# if len(list) > 2: list = list[0:2]
@@ -735,7 +735,7 @@
if op.disklist:
list = op.disklist
elif not op.full:
- list = ('total', )
+ list = ('total',)
else:
list = self.discover
# if len(list) > 2: list = list[0:2]
@@ -1035,7 +1035,7 @@
if op.netlist:
list = op.netlist
elif not op.full:
- list = ('total', )
+ list = ('total',)
else:
list = self.discover
# if len(list) > 2: list = list[0:2]
@@ -1178,11 +1178,11 @@
if op.swaplist:
list = op.swaplist
elif not op.full:
- list = ('total', )
+ list = ('total',)
else:
list = self.discover
# if len(list) > 2: list = list[0:2]
- list.sort()
+ list.sort()
for name in list:
if name in self.discover + ['total']:
ret.append(name)
More information about the svn-commits
mailing list