diff -r db76e8aaec29 -r a673d1d9a738 web/action.py --- a/web/action.py Fri Oct 21 14:32:18 2011 +0200 +++ b/web/action.py Fri Oct 21 14:32:37 2011 +0200 @@ -137,11 +137,7 @@ target_etype = rtype = None def url(self): - try: - # deprecated in 3.6, already warned by the selector - ttype = self.etype # pylint: disable=E1101 - except AttributeError: - ttype = self.target_etype + ttype = self.target_etype entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0) linkto = '%s:%s:%s' % (self.rtype, entity.eid, target(self)) return self._cw.vreg["etypes"].etype_class(ttype).cw_create_url(self._cw,