[PATCH 2/3 master] Do not sort settings in ifcfg file.

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

 



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

_______________________________________________
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