summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyipmi/tools/responseparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyipmi/tools/responseparser.py b/pyipmi/tools/responseparser.py
index 4e62be8..abbf785 100644
--- a/pyipmi/tools/responseparser.py
+++ b/pyipmi/tools/responseparser.py
@@ -264,6 +264,6 @@ class ResponseParserMixIn(object):
def handle_command_error(self, out, err):
"""Handle an error from running the command"""
- raise IpmiError(err)
+ raise IpmiError(err.strip())
response_parser = parse_colon_record