[PATCH 1/3] Disable pylint check for cached LVM data in more places
Vratislav Podzimek
vpodzime at redhat.com
Wed Jan 21 10:50:34 UTC 2015
We disable the check few lines below so we should do the same in this place.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
blivet/devicetree.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index 166bf99..687897e 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -172,14 +172,14 @@ class DeviceTree(object):
@property
def pvInfo(self):
if self._pvInfo is None:
- self._pvInfo = lvm.pvinfo()
+ self._pvInfo = lvm.pvinfo() # pylint: disable=attribute-defined-outside-init
return self._pvInfo
@property
def lvInfo(self):
if self._lvInfo is None:
- self._lvInfo = lvm.lvs()
+ self._lvInfo = lvm.lvs() # pylint: disable=attribute-defined-outside-init
return self._lvInfo
--
2.1.0
More information about the anaconda-patches
mailing list