summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/iutil.py b/iutil.py
index e7f9ca74c..918740b00 100644
--- a/iutil.py
+++ b/iutil.py
@@ -527,6 +527,10 @@ def hasiSeriesNativeStorage():
# return the ppc machine variety type
def getPPCMachine():
+
+ if getArch() != "ppc":
+ return 0
+
machine = rhpl.getPPCMachine()
if machine is None:
log.warning("Unable to find PowerPC machine type")