Re: [PATCH] Don't drop discovered format with unknown devices when parsing fstab.

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

 



On 05/04/2009 01:48 PM, David Lehman wrote:
This is just a clean-up for consistency.
---
  storage/__init__.py |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index d7b53b6..01ed14e 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1335,9 +1335,9 @@ class FSSet(object):
              format = getFormat(fstype)
              if devspec == "none" or \
                 isinstance(format, get_device_format_class("nodev")):
-                device = NoDevice(format)
+                device = NoDevice(format=format)
              else:
-                device = StorageDevice(devspec)
+                device = StorageDevice(devspec, format=format)

          if device is None:
              log.error("failed to resolve %s (%s) from fstab" % (devspec,

Looks good.

--
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