diff -r 6cebeb1f386a -r ad0eeb0f7a8d web/views/cwproperties.py --- a/web/views/cwproperties.py Thu Sep 29 14:07:37 2011 +0200 +++ b/web/views/cwproperties.py Thu Sep 29 14:47:04 2011 +0200 @@ -314,6 +314,7 @@ def render(self, form, renderer): wdg = self.get_widget(form) + # pylint: disable=E1101 wdg.attrs['tabindex'] = form._cw.next_tabindex() wdg.attrs['onchange'] = "javascript:setPropValueWidget('%s', %s)" % ( form.edited_entity.eid, form._cw.next_tabindex()) @@ -349,7 +350,7 @@ try: pdef = form._cw.vreg.property_info(entity.pkey) except UnknownProperty, ex: - self.warning('%s (you should probably delete that property ' + form.warning('%s (you should probably delete that property ' 'from the database)', ex) msg = form._cw._('you should probably delete that property') self.widget = NotEditableWidget(entity.printable_value('value'),