[blivet:master 16/17] Do not redefine size property in TmpFS.

mulhern amulhern at redhat.com
Tue Jan 6 20:38:18 UTC 2015


The meaning of size is defined in FS.size. The property in TmpFS breaks
that meaning.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/fs.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index a3bd768..06ecaf5 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1620,10 +1620,6 @@ class TmpFS(NoDevFS):
         return ",".join(o for o in (opts, size_opt) if o)
 
     @property
-    def size(self):
-        return self._size
-
-    @property
     def free(self):
         if self._mountpoint:
             # If self._mountpoint is defined, it means this tmpfs mount
-- 
1.9.3



More information about the anaconda-patches mailing list