[PATCH] Fix exitHandler loop deactivation
Vratislav Podzimek
vpodzime at redhat.com
Mon Jan 27 09:53:55 UTC 2014
On Fri, 2014-01-24 at 15:55 -0800, Brian C. Lane wrote:
> ---
> anaconda | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/anaconda b/anaconda
> index 99782a4..83156ef 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -55,7 +55,7 @@ def exitHandler(rebootData, storage, exitCode=None):
> devicetree.teardownAll()
> for name in devicetree.diskImages:
> dev = devicetree.getDeviceByName(name)
> - for loop in device.parents:
> + for loop in dev.parents:
> loop.controllable = True
> dev.deactivate(recursive=True)
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list