[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] do not check for duplicates in network connections specifications
- From: Vratislav Podzimek <vpodzime redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH] do not check for duplicates in network connections specifications
- Date: Wed, 29 Jun 2011 10:54:26 +0200
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]