summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2009-03-16 12:56:49 +0100
committerRadek Vykydal <rvykydal@redhat.com>2009-03-16 15:12:52 +0100
commit158689fb6050aca9d8921248fe9cb57d4b168a7f (patch)
treedf2b83f2f69e264824516abfd24848c3d36f2050 /storage
parentbbc327f945c06a211c40205aae56ea8447c471cc (diff)
downloadanaconda-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.py2
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. """