summaryrefslogtreecommitdiffstats
path: root/storage/__init__.py
diff options
context:
space:
mode:
authorJoel Granados Moreno <jgranado@redhat.com>2009-04-14 16:44:32 +0200
committerJoel Granados Moreno <jgranado@redhat.com>2009-04-14 16:56:57 +0200
commit2d9ee969831b8dc7eb7ea920ad0c053a4cc5652d (patch)
treea545da5ea5a23455b79757ca07fb6e39dd0997c0 /storage/__init__.py
parent582edad25b42cce5402f855ab38066e7e20fa8a7 (diff)
downloadanaconda-2d9ee969831b8dc7eb7ea920ad0c053a4cc5652d.tar.gz
anaconda-2d9ee969831b8dc7eb7ea920ad0c053a4cc5652d.tar.xz
anaconda-2d9ee969831b8dc7eb7ea920ad0c053a4cc5652d.zip
Make save to usb work.
Diffstat (limited to 'storage/__init__.py')
-rw-r--r--storage/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index 4c365f776..8678b6e81 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -470,11 +470,11 @@ class Storage(object):
if part.active and \
not part.getFlag(parted.PARTITION_RAID) and \
not part.getFlag(parted.PARTITION_LVM) and \
- part.fileSystemType in ("ext3", "ext2", "fat16", "fat32"):
- dests.append(part.path, device.name)
+ part.fileSystem.type in ("ext3", "ext2", "fat16", "fat32"):
+ dests.append([part.path, device.name])
if not disk.partitions:
- dests.append(device.path, device.name)
+ dests.append([device.path, device.name])
return dests