[blivet:master 07/15] Remove non-self params from FS.doResize method

mulhern amulhern at redhat.com
Wed May 7 23:05:51 UTC 2014


The params are not used at all and this makes the signature match that of the
TmpFS.doResize method which is intended to override it.

No arguments other than self are passed where it is used in
blivet.deviceaction.

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

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 29886dd..5ff070f 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -404,7 +404,7 @@ class FS(DeviceFormat):
         argv = [self.device, "%d" % (self.targetSize.convertTo("MiB"),)]
         return argv
 
-    def doResize(self, *args, **kwargs):
+    def doResize(self):
         """ Resize this filesystem based on this instance's targetSize attr.
 
             :raises: FSResizeError, FSError
-- 
1.8.3.1



More information about the anaconda-patches mailing list