[PATCH] Drop unreferenced 'useIPv[46]' flag
Vratislav Podzimek
vpodzime at redhat.com
Fri Jan 17 13:20:27 UTC 2014
On Thu, 2014-01-16 at 16:54 -0500, Will Woods wrote:
> 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
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list