On Fri, 2014-03-21 at 08:45 -0400, mulhern wrote:
Occasioned by an "Instance of DeviceTree has no
'_DeviceTree__luksDev' member"
pylint error.
Signed-off-by: mulhern <amulhern(a)redhat.com>
---
blivet/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index f361844..2bc1243 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -1469,8 +1469,8 @@ class Blivet(object):
""" Save a device's LUKS passphrase in case of reset.
"""
passphrase = device.format._LUKS__passphrase
self.__luksDevs[device.format.uuid] = passphrase
- self.devicetree._DeviceTree__luksDevs[device.format.uuid] = passphrase
- self.devicetree._DeviceTree__passphrases.append(passphrase)
+ self.devicetree.__luksDevs[device.format.uuid] = passphrase
+ self.devicetree.__passphrases.append(passphrase)
I'd rather see those
'__' go.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic