[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 2/3 master] Do not sort settings in ifcfg file.
- From: Radek Vykydal <rvykydal redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH 2/3 master] Do not sort settings in ifcfg file.
- Date: Tue, 2 Nov 2010 16:44:30 +0100
There is no point in doing that.
---
pyanaconda/network.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 2a9870b..2c83ffe 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -222,10 +222,6 @@ class NetworkDevice(IfcfgFile):
def __str__(self):
s = ""
keys = self.info.keys()
- keys.sort()
- if ("DEVICE" in keys):
- keys.remove("DEVICE")
- keys.insert(0, "DEVICE")
if iutil.isS390() and ("HWADDR" in keys):
keys.remove("HWADDR")
# make sure we include autoneg in the ethtool line
--
1.7.2
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]