[PATCH] Access private attribute for luks dict.

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

 



We don't want this attribute to have a getter because then it would
appear in tracebacks, dumps, &c.
---
 storage/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index b886dc0..8207156 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -209,7 +209,7 @@ class Storage(object):
         # save passphrases for luks devices so we don't have to reprompt
         for device in self.devices:
             if device.format.type == "luks" and device.format.exists:
-                self.__luksDevs[device.format.uuid] = device.format.__passphrase
+                self.__luksDevs[device.format.uuid] = device.format._LUKS__passphrase
 
         w = self.anaconda.intf.waitWindow(_("Finding Devices"),
                                       _("Finding storage devices..."))
-- 
1.6.0.6

_______________________________________________
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