The variable is a leftover of porting from master. Respective
code path is dead now, and it would be replaced by wireless
support patches when/if they are ported from master.
Just make pylint happy.
---
network.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/network.py b/network.py
index 392ead3..8fb843e 100644
--- a/network.py
+++ b/network.py
@@ -589,8 +589,6 @@ class Network:
# handle the keys* files if we have those
if dev.get("KEY"):
cfgfile = "%s/keys-%s" % (netscriptsDir, device,)
- if not instPath == ' and os.path.isfile(cfgfile):
- continue
newkey = "%s/keys-%s.new" % (netscriptsDir, device,)
f = open(newkey, "w")
--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list