web/views/euser.py
changeset 556 64d26324d3eb
parent 555 b40d885ba7a4
child 557 8bb60606e5ad
--- a/web/views/euser.py	Thu Feb 05 18:02:36 2009 +0100
+++ b/web/views/euser.py	Thu Feb 05 18:09:11 2009 +0100
@@ -37,6 +37,8 @@
     def is_side_related(self, rschema, eschema):
         return  rschema.type in ['interested_in', 'tags', 
                                  'todo_by', 'bookmarked_by',
+                                 ]
+
 class FoafView(EntityView):
     id = 'foaf'
     accepts = ('EUser',)
@@ -74,7 +76,7 @@
             m.update(html_escape(emailaddr))
             crypt_sha1 = m.hexdigest()
             self.w(u'<foaf:mbox_sha1sum>%s</foaf:mbox_sha1sum>\n' % crypt_sha1)
-        self.w(u'</foaf:Person>\n')
+            self.w(u'</foaf:Person>\n')
 
 
 class EditGroups(EntityForm):