web/views/primary.py
branchstable
changeset 3972 ec3d294034bf
parent 3971 7cfbc35dce7e
child 3974 1d36d9904c41
--- a/web/views/primary.py	Wed Dec 02 14:38:17 2009 +0100
+++ b/web/views/primary.py	Wed Dec 02 15:08:11 2009 +0100
@@ -140,7 +140,7 @@
                     self._render_relation(dispctrl, rset, 'autolimited')
                 except TypeError:
                     warn('[3.6] _render_relation prototype has changed, '
-                         'please update %s' % self.__class___, DeprecationWarning)
+                         'please update %s' % self.__class__, DeprecationWarning)
                     self._render_relation(rset, dispctrl, 'autolimited',
                                           self.show_rel_label)