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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux