Re: [PATCH] Fix the filesystem migration dialog in text mode (#688314).

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

 



> > +            # Cancel any previously scheduled migrate actions first.
> > +            for entry in partlist:
> > +                action = anaconda.storage.devicetree.findActions(device=entry[1],
> > +                                                                 type="migrate")
> 
> findActions will return a list of actions, possibly empty.

Okay, updated to loop over action and cancel everything.

> > +                if action:
> > +                    # the migrate action has already been scheduled
> > +                    continue
> 
> Surely the above won't ever happen if you've just canceled all
> previously scheduled migrate actions.

Ah yes, you are correct.  I'll change that too.

- Chris

_______________________________________________
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