diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2009-03-16 12:56:49 +0100 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2009-03-16 15:12:52 +0100 |
commit | 158689fb6050aca9d8921248fe9cb57d4b168a7f (patch) | |
tree | df2b83f2f69e264824516abfd24848c3d36f2050 /storage | |
parent | bbc327f945c06a211c40205aae56ea8447c471cc (diff) | |
download | anaconda-158689fb6050aca9d8921248fe9cb57d4b168a7f.tar.gz anaconda-158689fb6050aca9d8921248fe9cb57d4b168a7f.tar.xz anaconda-158689fb6050aca9d8921248fe9cb57d4b168a7f.zip |
Initialize attribute _mountpoint before using it
Diffstat (limited to 'storage')
-rw-r--r-- | storage/formats/fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py index bc183c2de..2e1e778f9 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -155,11 +155,11 @@ class FS(DeviceFormat): # filesystem size does not necessarily equal device size self._size = kwargs.get("size") + self._mountpoint = None # the current mountpoint when mounted if self.exists: self._size = self._getExistingSize() self._targetSize = self._size - self._mountpoint = None # the current mountpoint when mounted def _setTargetSize(self, newsize): """ Set a target size for this filesystem. """ |