oops tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 18 Feb 2009 10:21:10 +0100
branchtls-sprint
changeset 761 6378cd66d69f
parent 760 95b3419e94c5
child 762 a6f678fe7e44
oops
sobjects/notification.py
--- a/sobjects/notification.py	Wed Feb 18 10:06:20 2009 +0100
+++ b/sobjects/notification.py	Wed Feb 18 10:21:10 2009 +0100
@@ -282,7 +282,7 @@
         if content:
             contentformat = getattr(entity, self.content_attr + '_format', 'text/rest')
             content = normalize_text(content, 80, rest=contentformat=='text/rest')
-        return super(NormalizedTextView, self).context(content=content, **kwargs)
+        return super(ContentAddedView, self).context(content=content, **kwargs)
     
     def subject(self):
         entity = self.entity(0, 0)