sos/sos-bz622784-filesys-no-print-regex-debug.patch

12 lines
528 B
Diff
Raw Normal View History

diff -up sos-2.2/sos/plugins/filesys.py.orig sos-2.2/sos/plugins/filesys.py
--- sos-2.2/sos/plugins/filesys.py.orig 2011-04-05 16:40:02.000000000 +0100
+++ sos-2.2/sos/plugins/filesys.py 2011-04-05 16:40:14.000000000 +0100
@@ -62,7 +62,6 @@ class filesys(sos.plugintools.PluginBase
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)