[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[master 3/5] logging: strip the extra newline in FCoE EDD log



---
 storage/fcoe.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/fcoe.py b/storage/fcoe.py
index e77caba..40a6030 100644
--- a/storage/fcoe.py
+++ b/storage/fcoe.py
@@ -77,7 +77,7 @@ class fcoe(object):
         rc = iutil.execWithCapture("/usr/libexec/fcoe/fcoe_edd.sh", [ "-i" ],
                                    stderr="/dev/tty5")
         if not rc.startswith("NIC="):
-            log.info("No FCoE EDD info found: %s" % rc)
+            log.info("No FCoE EDD info found: %s" % rc.rstrip())
             return
 
         (key, val) = rc.split("=", 1)
-- 
1.6.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]