Re: [PATCH] Fix incorrect attribute name use for retrofit flag.

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

 



> diff --git a/storage/__init__.py b/storage/__init__.py
> index 6f063d4..9a1999e 100644
> --- a/storage/__init__.py
> +++ b/storage/__init__.py
> @@ -130,7 +130,7 @@ def storageComplete(anaconda):
>              (passphrase, retrofit) = anaconda.intf.getLuksPassphrase(preexist=existing_luks)
>              if passphrase:
>                  anaconda.id.storage.encryptionPassphrase = passphrase
> -                anaconda.id.storage.retrofitPassphrase = retrofit
> +                anaconda.id.storage.encryptionRetrofit = retrofit
>                  for dev in anaconda.id.storage.devices:
>                      if dev.format.type == "luks" and not dev.format.exists:
>                          dev.format.passphrase = passphrase
> @@ -761,7 +761,7 @@ class Storage(object):
>              in the system so that users only have to enter one passphrase
>              during system boot.
>          """
> -        if not self.retrofitPassphrase:
> +        if not self.encryptionRetrofit:
>              return
>  
>          for device in self.devices:

Looks good to me.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux