summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/sadf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sadf.py b/plugins/sadf.py
index c7caee8..597b14c 100755
--- a/plugins/sadf.py
+++ b/plugins/sadf.py
@@ -65,12 +65,12 @@ def sadfExecCmd(sadfCmd):
raise SadfCmdExecFailedException(err=[str(e)])
if rc != 0:
- raise SadfCmdExecFailedException(rc, out, err)
+ raise SadfCmdExecFailedException(rc, [out], [err])
try:
return etree.fromstring(out)
except _etreeExceptions:
- raise SadfXmlErrorException(err=out)
+ raise SadfXmlErrorException(err=[out])
def utcnow():