web/views/xmlrss.py
changeset 6142 8bc6eac1fac1
parent 6141 b8287e54b528
child 6864 ea95004494a2
equal deleted inserted replaced
6141:b8287e54b528 6142:8bc6eac1fac1
    66             attr = rschema.type
    66             attr = rschema.type
    67             if attr == 'eid':
    67             if attr == 'eid':
    68                 value = entity.eid
    68                 value = entity.eid
    69             else:
    69             else:
    70                 try:
    70                 try:
    71                     value = entity[attr]
    71                     value = entity.cw_attr_cache[attr]
    72                 except KeyError:
    72                 except KeyError:
    73                     # Bytes
    73                     # Bytes
    74                     continue
    74                     continue
    75             if value is not None:
    75             if value is not None:
    76                 if attrschema == 'Bytes':
    76                 if attrschema == 'Bytes':