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

Re: [PATCH] Make save to usb work.



> diff --git a/storage/__init__.py b/storage/__init__.py
> index 4c365f7..8678b6e 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

It's got my vote.

- Chris


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