[blivet:master 01/25] Setting variables in __init__
mulhern
amulhern at redhat.com
Wed Apr 16 21:54:22 UTC 2014
Prompted by pylint W0201 (attribute-defined-outside-init) warning.
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/__init__.py | 1 +
blivet/devicefactory.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index b9192d9..3cf6c37 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -242,6 +242,7 @@ class StorageDiscoveryConfig(object):
self.initializeDisks = False
self.protectedDevSpecs = []
self.diskImages = {}
+ self.zeroMbr = False
# Whether clearPartitions removes scheduled/non-existent devices and
# disklabels depends on this flag.
diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py
index 6a90b58..aa3fb10 100644
--- a/blivet/devicefactory.py
+++ b/blivet/devicefactory.py
@@ -302,6 +302,7 @@ class DeviceFactory(object):
self.__devices = []
self.__actions = []
self.__names = []
+ self.__roots = []
#
# methods related to device size and disk space requirements
--
1.8.3.1
More information about the anaconda-patches
mailing list