Re: [PATCH 2/4] Remember autopart UI choice when going back (#596146)

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

 



> diff --git a/storage/__init__.py b/storage/__init__.py
> index c7863e0..dfe8a78 100644
> --- a/storage/__init__.py
> +++ b/storage/__init__.py
> @@ -251,6 +251,7 @@ class Storage(object):
>          self.doAutoPart = False
>          self.clearPartType = None
>          self.clearPartDisks = []
> +        self.clearPartChoice = None
>          self.encryptedAutoPart = False
>          self.encryptionPassphrase = None
>          self.autoPartEscrowCert = None

An argument could be made here that we shouldn't be putting UI-specific
data in the Storage structure, but we've already done a little of that
and I don't really see a better place for it.  Worth thinking about,
though.

- 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