fix: replace non ascii character

This commit is contained in:
Élie Bouttier 2014-08-14 21:59:48 -07:00
parent 3cb84d971f
commit 5eded17d50

View file

@ -22,7 +22,7 @@ def first_few(items, arg='item'):
else:
r = ', '.join(map(lambda x: x.__str__(), items.all()[0:3]))
plural = 's' if items.count() > 4 else ''
r += ', (%s other%s)' % (items.count() - 3, plural)
r += ', ... (%s other%s)' % (items.count() - 3, plural)
return r
else:
return 'no ' + arg + 's'