Re: [PATCH 5/8] Make sure _getResizeArgs() return lists of strings, add one for NTFS.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/05/2009 10:47 AM, Chris Lumens wrote:
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 9c61b59..d27b348 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -300,8 +300,9 @@ class FS(DeviceFormat):
          # instance of the new filesystem type.
          self._type = self.migrationTarget

-    def _getResizeArgs(self):
-        argv = [self.device, self.targetSize]
+    @property
+    def resizeArgs(self):
+        argv = [self.device, "%d" % (self.targetSize,)]
          return argv

      def doResize(self, *args, **kwargs):

Looks fine, though this is a patch against the previous patch.  So make
sure you merge them together so as to avoid the weirdo temporary commit
in the history.  You know?

Actually it wasn't.  The numbering was just off.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux