[master] [PATCH] anaconda should print unknown platform information

Vratislav Podzimek vpodzime at redhat.com
Thu Oct 25 07:53:57 UTC 2012


On Wed, 2012-10-24 at 14:18 -0500, Mark Hamzy wrote:
> 869746: Include more information as part of the system error.
> 
> ---
>  pyanaconda/platform.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
> index 8fade39..64b9cc8 100644
> --- a/pyanaconda/platform.py
> +++ b/pyanaconda/platform.py
> @@ -394,7 +394,7 @@ def getPlatform():
>          elif ppcMachine == "PS3":
>              return PS3()
>          else:
> -            raise SystemError, "Unsupported PPC machine type"
> +            raise SystemError, "Unsupported PPC machine type: %s" % ppcMachine
>      elif iutil.isS390():
>          return S390()
>      elif iutil.isSparc():
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list