diff options
author | George Kraft <george.kraft@calxeda.com> | 2012-11-06 13:36:27 -0600 |
---|---|---|
committer | George Kraft <george.kraft@calxeda.com> | 2012-11-06 13:36:27 -0600 |
commit | 1cd56195da947d29917804224d7253f9f8de54b6 (patch) | |
tree | 3b1dcc4f76fa77095459e501c65775e297c1dbe0 | |
parent | 04843c8f72ef9b38dcd2e983034686e2664bad14 (diff) | |
download | pyipmi-1cd56195da947d29917804224d7253f9f8de54b6.tar.gz |
Strip newlines from the fabric get ipaddr/macaddr commands
-rw-r--r-- | pyipmi/commands/fabric.py | 4 |
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 = { } |