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

Re: [PATCH] Fix up remaining anaconda.id references (#680296)



On Thu, 2011-02-24 at 15:16 -0800, Brian C. Lane wrote:
> anaconda.id.storage no longer exists, it is anaconda.storage now

Ack.

> ---
>  pyanaconda/iutil.py    |    2 +-
>  pyanaconda/platform.py |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/pyanaconda/iutil.py b/pyanaconda/iutil.py
> index 197bf15..fc751b5 100644
> --- a/pyanaconda/iutil.py
> +++ b/pyanaconda/iutil.py
> @@ -851,7 +851,7 @@ def reIPL(anaconda, loader_pid):
>          anaconda.canReIPL = False
>          devstring = None
>  
> -        for disk in anaconda.id.storage.disks:
> +        for disk in anaconda.storage.disks:
>              if disk.name == ipldev:
>                  devstring = disk.description
>                  break
> diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
> index ee00777..acf7d5e 100644
> --- a/pyanaconda/platform.py
> +++ b/pyanaconda/platform.py
> @@ -212,7 +212,7 @@ class EFI(Platform):
>      def bootDevice(self):
>          bootDev = None
>  
> -        for part in self.anaconda.id.storage.partitions:
> +        for part in self.anaconda.storage.partitions:
>              if part.format.type == "efi" and self.validBootPartSize(part.size):
>                  bootDev = part
>                  # if we're only picking one, it might as well be the first



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