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

Re: [PATCH] Make save to usb work.



> >  storage/__init__.py |    6 +++---
> >  1 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > 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])
> 
> Perhaps a dumb question, but do we care about ext4 here too?

Yes, yes we do.

We really need a better test here than keeping a static list.  Perhaps
we should make this the sum of linux filesystems and msdos filesystems?

- Chris


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