summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-24 14:30:53 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-24 14:30:53 -0400
commit9fa149f6e2a5a0d3233644298a5d50db3f8b6748 (patch)
treef051dd74be397866290d959844741d65ad1260a8 /modules
parent84207483cc8a8d00d047ab3c15e2f15cb194884c (diff)
downloadthird_party-func-9fa149f6e2a5a0d3233644298a5d50db3f8b6748.tar.gz
third_party-func-9fa149f6e2a5a0d3233644298a5d50db3f8b6748.tar.xz
third_party-func-9fa149f6e2a5a0d3233644298a5d50db3f8b6748.zip
Basic plugin for checking SMART status on drives.
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/smart.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/smart.py b/modules/smart.py
index fc4c329..410e353 100755
--- a/modules/smart.py
+++ b/modules/smart.py
@@ -46,8 +46,7 @@ class SmartModule(func_module.FuncModule):
results = []
for x in data.split("\n"):
- tokens = x.split()
- results.append(tokens)
+ results.append(x)
return (cmd.returncode, results)