summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kraft <george.kraft@calxeda.com>2012-11-06 13:36:27 -0600
committerGeorge Kraft <george.kraft@calxeda.com>2012-11-06 13:36:27 -0600
commit1cd56195da947d29917804224d7253f9f8de54b6 (patch)
tree3b1dcc4f76fa77095459e501c65775e297c1dbe0
parent04843c8f72ef9b38dcd2e983034686e2664bad14 (diff)
downloadpyipmi-1cd56195da947d29917804224d7253f9f8de54b6.tar.gz
Strip newlines from the fabric get ipaddr/macaddr commands
-rw-r--r--pyipmi/commands/fabric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyipmi/commands/fabric.py b/pyipmi/commands/fabric.py
index df1ba47..67eb7e1 100644
--- a/pyipmi/commands/fabric.py
+++ b/pyipmi/commands/fabric.py
@@ -127,7 +127,7 @@ class FabricGetIPAddrCommand(Command, ResponseParserMixIn):
result_type = str
def parse_response(self, out, err):
- return out
+ return out.strip()
response_fields = {
}
@@ -147,7 +147,7 @@ class FabricGetMacAddrCommand(Command, ResponseParserMixIn):
result_type = str
def parse_response(self, out, err):
- return out
+ return out.strip()
response_fields = {
}