[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH] Fix the filesystem migration dialog in text mode (#688314).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH] Fix the filesystem migration dialog in text mode (#688314).
- Date: Mon, 21 Mar 2011 11:29:12 -0400
> > + # 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]