[PATCH] do not check for duplicates in network connections specifications

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

 



It should be the responsibility of the code which is using pykickstart
to deal with duplicates. E.g. there could be more connections specified for
wireless networking even all for the same device.
---
 pykickstart/commands/network.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/pykickstart/commands/network.py b/pykickstart/commands/network.py
index dfb2ab9..f9b0598 100644
--- a/pykickstart/commands/network.py
+++ b/pykickstart/commands/network.py
@@ -249,10 +249,6 @@ class FC3_Network(KickstartCommand):
         self._setToObj(self.op, opts, nd)
         nd.lineno = self.lineno
 
-        # Check for duplicates in the data list.
-        if nd in self.dataList():
-            warnings.warn(_("A network device with the name %s has already been defined.") % nd.device)
-
         return nd
 
     def dataList(self):
-- 
1.7.4.4

_______________________________________________
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