diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2012-11-29 18:18:32 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2012-11-29 18:18:32 +0000 |
commit | 746c8e56ab188f1084d4a47aac294d5e5df59f09 (patch) | |
tree | 694c30eaf9dd8e41ac74d622156f732c657aa5ae | |
parent | d39c08d2091986ccd82921f1644887c8befe4e10 (diff) | |
download | sos-746c8e56ab188f1084d4a47aac294d5e5df59f09.tar.gz |
Remove stray debug code in filesys module
-rw-r--r-- | sos/plugins/filesys.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py index 99d231a4..f942fa89 100644 --- a/sos/plugins/filesys.py +++ b/sos/plugins/filesys.py @@ -60,12 +60,11 @@ class filesys(Plugin, RedHatPlugin, UbuntuPlugin): start_geo = hdparm.strip().split("\n")[-1].strip().split()[-1] if(start_geo == "0"): devlist.append(dev) + else: # Cheaper heuristic as RHEL* does not ship hdparm for S390(x) # Skips least dm-.* correctly - else: part_in_disk = re.compile("^/dev/[a-z]+$") for dev in partlist: - print part_in_disk.match(dev) if bool(part_in_disk.match(dev)): devlist.append(dev) |