[master 1/3] Make a size refer to a Size object.
mulkieran
installerbot-noreply at redhat.com
Tue Jun 9 21:15:19 UTC 2015
From: mulhern <amulhern at redhat.com>
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/formats/disklabel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/formats/disklabel.py b/blivet/formats/disklabel.py
index 70dff6c..94cdfbd 100644
--- a/blivet/formats/disklabel.py
+++ b/blivet/formats/disklabel.py
@@ -61,7 +61,7 @@ def __init__(self, **kwargs):
else:
self._labelType = ""
- self._size = None
+ self._size = Size(0)
self._partedDevice = None
self._partedDisk = None
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/ed5b26821b6eca3d159e2e7319c351bfb44fd12e
More information about the anaconda-patches
mailing list