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

 
 
LinkBack Thread Tools
 
Old 04-27-2010, 08:50 AM
Radek Vykydal
 
Default TODO? don't just let last device in the loop win in Network.write()

See comments in the patch.
---
network.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/network.py b/network.py
index 1c8bf67..609680e 100644
--- a/network.py
+++ b/network.py
@@ -618,6 +618,12 @@ class Network:
except:
log.warning("unable to copy %s to target system" % (dhclientconf,))

+
+ # TODORV: note that we use the last dev from the loop above
+ # at some places below which is ok for one net device, but
+ # maybe not if we have more devices - perhaps we should take
+ # care of this case.
+
# /etc/sysconfig/network
if (not instPath) or (not os.path.isfile(destnetwork)) or flags.livecdInstall:
newnetwork = "%s.new" % (destnetwork,)
--
1.6.0.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 07:30 PM.

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