FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 03-13-2009, 09:12 PM
David Lehman
 
Default Access private attribute for luks dict.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 02:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org