FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-26-2011, 11:24 AM
Ales Kozumplik
 
Default fcoe: fix detecting FCoE NIC

From: Michael Brown <mcb30@ipxe.org>

Signed-off-by: Michael Brown <mcb30@ipxe.org>
---
pyanaconda/storage/fcoe.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/fcoe.py b/pyanaconda/storage/fcoe.py
index 79d267b..0b30dd9 100644
--- a/pyanaconda/storage/fcoe.py
+++ b/pyanaconda/storage/fcoe.py
@@ -80,7 +80,7 @@ class fcoe(object):
log.info("No FCoE EDD info found: %s" % rc.rstrip())
return

- (key, val) = rc.split("=", 1)
+ (key, val) = rc.strip().split("=", 1)
if val not in isys.getDeviceProperties():
log.error("Unknown FCoE NIC found in EDD: %s, ignoring" % val)
return
--
1.7.6

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

Thread Tools




All times are GMT. The time now is 02:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org