Commits

Sean Summers committed 32fba9b

small consistency change

Comments (0)

Files changed (1)

 def fields(classObject):
     ''' return all fields for a given StoredClass (including parent fields [heritage/index order]) '''
     fields = []
-    for cls in reversed(tuple(path(classObject))):
-        fields.extend(getattr(cls, 'declaredFields', getattr(cls,'storedFields', None)))
+    for c in reversed(tuple(path(classObject))):
+        fields.extend(getattr(c, 'declaredFields', getattr(c,'storedFields', None)))
     return fields
 
 def valueOf(field, instance):