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

Mark Hamzy hamzy at us.ibm.com
Wed Oct 24 19:18:24 UTC 2012


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():
-- 
1.7.11.2



More information about the anaconda-patches mailing list