--- a/web/views/xmlrss.py Wed Mar 24 14:12:47 2010 +0100
+++ b/web/views/xmlrss.py Wed Mar 24 14:17:01 2010 +0100
@@ -50,11 +50,14 @@
self.w(u'<%s>\n' % (entity.e_schema))
for rschema, attrschema in entity.e_schema.attribute_definitions():
attr = rschema.type
- try:
- value = entity[attr]
- except KeyError:
- # Bytes
- continue
+ if attr == 'eid':
+ value = entity.eid
+ else:
+ try:
+ value = entity[attr]
+ except KeyError:
+ # Bytes
+ continue
if value is not None:
if attrschema == 'Bytes':
from base64 import b64encode