Fix TypeError in fru status vebose output

It is a list, not a dictionary.
Fixes: `TypeError: list indices must be integers, not unicode`

Change-Id: Ieff2d833867255a8019129b4b69f0353e3fc967e
Signed-off-by: Markus Hilger <Markus.Hilger@de.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/thalerj/openbmctool.py b/thalerj/openbmctool.py
index 4dc7462..9905cb0 100755
--- a/thalerj/openbmctool.py
+++ b/thalerj/openbmctool.py
@@ -467,8 +467,8 @@
                 if hasSels:
                     loglist = []
                     faults = frulist[key+"/fault"]['endpoints']
-                    for key in faults:
-                        loglist.append(faults[key].split('/')[-1])
+                    for item in faults:
+                        loglist.append(item.split('/')[-1])
                     frus[fruName] = {"compName": fruName, "Functional": "No", "Present":boolToString(present), "IsFru": boolToString(isFru), "selList": ', '.join(loglist).strip() }
                 else:
                     frus[fruName] = {"compName": fruName, "Functional": "Yes", "Present":boolToString(present), "IsFru": boolToString(isFru), "selList": "None" }