aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-05-04 15:07:01 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-05-04 15:07:01 +0000
commit585878ccff13c6a04f16d11b26665830ae1735ab (patch)
treedb823f3e910cbff716d6844c6c6a6c076605e44f
parent13a63635b38f918476c6af64d69867ff422ccfda (diff)
downloadsos-585878ccff13c6a04f16d11b26665830ae1735ab.tar.gz
handle fixes to filesys plugin for returning proper devlist
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@956 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--sos/plugins/filesys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py
index 330e0357..28007e1c 100644
--- a/sos/plugins/filesys.py
+++ b/sos/plugins/filesys.py
@@ -49,13 +49,13 @@ class filesys(sos.plugintools.PluginBase):
partlist.append('/dev/' + line.split()[-1])
except IOError:
exit(1)
- for dev in izip(partlist):
+ for dev in partlist:
ret, hdparm, time = self.callExtProg('/sbin/hdparm -g %s' %(dev))
if(ret == 0):
start_geo = hdparm.strip().split("\n")[-1].strip().split()[-1]
if(start_geo == "0"):
devlist.append(dev)
- for i in izip(devlist):
+ for i in devlist:
self.collectExtOutput("/sbin/parted -s %s print" % (i))
if self.getOption('dumpe2fs'):