Re: [PATCH 4/6] Expose common fsset methods and properties in class Storage.

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 2 Sep 2009, Hans de Goede wrote:

Hi,

On 09/02/2009 03:25 AM, David Cantrell wrote:

<snip>

diff --git a/storage/__init__.py b/storage/__init__.py
index 0f3efdb..494bef0 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py

<snip>

@@ -1723,7 +1762,7 @@ class FSSet(object):

          self.active = False

-    def createSwapFile(self, rootPath, device, size):
+    def createSwapFile(self, rootPath=self.rootpath, device, size):
          """ Create and activate a swap file under rootPath. """
          filename = "/SWAP"
          count = 0

You are using arguments without a default value after arguments with a default
value here.

Ooops, yeah.  Updated patch coming up.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqezGcACgkQ5hsjjIy1Vkk7jQCfa1Tptf5SgFT/uQzfY6HghFPY
KsYAn2mNkidAQTX2jpDADQhtCTuBsfC5
=SjGV
-----END PGP SIGNATURE-----

_______________________________________________
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