[primary] add missing version number to deprecation warnings stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 01 Jun 2010 12:16:56 +0200
branchstable
changeset 5614 37b31a7b8e74
parent 5613 bc0ebfbf5c5d
child 5615 cfa9a776d99a
[primary] add missing version number to deprecation warnings
web/views/primary.py
--- a/web/views/primary.py	Tue Jun 01 08:54:40 2010 +0200
+++ b/web/views/primary.py	Tue Jun 01 12:16:56 2010 +0200
@@ -82,7 +82,7 @@
             self.w(u'</td><td>')
             self.w(u'<div class="primaryRight">')
             if hasattr(self, 'render_side_related'):
-                warn('render_side_related is deprecated')
+                warn('[3.2] render_side_related is deprecated')
                 self.render_side_related(entity, [])
             self.render_side_boxes(boxes)
             self.w(u'</div>')
@@ -95,7 +95,7 @@
             try:
                 comp.render(w=self.w, row=self.cw_row, view=self)
             except NotImplementedError:
-                warn('component %s doesnt implement cell_call, please update'
+                warn('[3.2] component %s doesnt implement cell_call, please update'
                      % comp.__class__, DeprecationWarning)
                 comp.render(w=self.w, view=self)
         self.w(u'</div>')