[PATCH] Drop unreferenced 'useIPv[46]' flag

Will Woods wwoods at redhat.com
Thu Jan 16 21:54:34 UTC 2014


Nothing uses these anymore - anything that checks for 'noipv6' is
looking at flags.cmdline. Drop them.
---
 anaconda            | 6 ------
 pyanaconda/flags.py | 2 --
 2 files changed, 8 deletions(-)

diff --git a/anaconda b/anaconda
index ce4843a..2d681e9 100755
--- a/anaconda
+++ b/anaconda
@@ -822,12 +822,6 @@ if __name__ == "__main__":
     if opts.dlabel: #autodetected driverdisc in use
         flags.dlabel = True
 
-    if opts.noipv4:
-        flags.useIPv4 = False
-
-    if opts.noipv6:
-        flags.useIPv6 = False
-
     if opts.proxy:
         anaconda.proxy = opts.proxy
 
diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
index 428a246..2abc703 100644
--- a/pyanaconda/flags.py
+++ b/pyanaconda/flags.py
@@ -55,8 +55,6 @@ class Flags(object):
         self.selinux = SELINUX_DEFAULT
         self.debug = 0
         self.targetarch = None
-        self.useIPv4 = True
-        self.useIPv6 = True
         self.armPlatform = None
         self.preexisting_x11 = False
         self.noverifyssl = False
-- 
1.8.4.2



More information about the anaconda-patches mailing list