changeset 10669 | 155c29e0ed1c |
parent 10666 | 7f6b5f023884 |
child 10688 | fa29f3628a1b |
--- a/web/views/boxes.py Tue Sep 15 17:10:58 2015 +0200 +++ b/web/views/boxes.py Fri Sep 18 14:29:53 2015 +0200 @@ -93,7 +93,7 @@ etypes = self.cw_rset.column_types(0) if len(etypes) == 1: plural = self.cw_rset.rowcount > 1 and 'plural' or '' - etypelabel = display_name(self._cw, iter(etypes).next(), plural) + etypelabel = display_name(self._cw, next(iter(etypes)), plural) title = u'%s - %s' % (title, etypelabel.lower()) w(title)