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

Re: [PATCH] Deprecate interactive kickstart mode.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/14/2010 10:33 AM, Chris Lumens wrote:
> ---
>  pykickstart/commands/interactive.py |    4 ++++
>  pykickstart/handlers/control.py     |    2 +-
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/pykickstart/commands/interactive.py b/pykickstart/commands/interactive.py
> index 366e4a5..fa3dc02 100644
> --- a/pykickstart/commands/interactive.py
> +++ b/pykickstart/commands/interactive.py
> @@ -52,3 +52,7 @@ class FC3_Interactive(KickstartCommand):
>  
>          self.interactive = True
>          return self
> +
> +class F14_Interactive(DeprecatedCommand):
> +    def __init__(self):
> +        DeprecatedCommand.__init__(self)
> diff --git a/pykickstart/handlers/control.py b/pykickstart/handlers/control.py
> index 0af537b..c288eea 100644
> --- a/pykickstart/handlers/control.py
> +++ b/pykickstart/handlers/control.py
> @@ -673,7 +673,7 @@ commandMap = {
>          "harddrive": method.F14_Method,
>          "ignoredisk": ignoredisk.F14_IgnoreDisk,
>          "install": upgrade.F11_Upgrade,
> -        "interactive": interactive.FC3_Interactive,
> +        "interactive": interactive.F14_Interactive,
>          "iscsi": iscsi.F10_Iscsi,
>          "iscsiname": iscsiname.FC6_IscsiName,
>          "key": key.F7_Key,

Ack.

- -- 
Brian C. Lane <bcl redhat com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBTD35SRF+jBaO/jp/AQK/ngf/a4uSYZ6Gwaz+h0zBxWqpNLib3KTVtnkS
EalC+jcMerxASYZbgM4tkPBFjQD+6AezNnncuK8O00kRezQRpyRz50+N1+7kVuwJ
SFOnHfaIw0StUaO0tUPEu1NmTMFZy2+ZoHGparO+kzvdwCbuF5W3kPt8Wam/giLU
fX8VfEnKynS2wYMXVOiNFL75g9CCxUkMXZOIAatoYNYOoSIpiWBqLpgTNt/QKM8F
jJ6j/GBPA8ijgw+nJ0VrfXf+4c5Fn5nIyTdYDAgmcLlu/SfNMiLMf8j9WsScKKl5
RajesLb9a+1SjMzK7rXnsMiuzPzsMIy2QgE3rEqz1xFA6QhRqOpCHw==
=GOaC
-----END PGP SIGNATURE-----


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