[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#807875: tracker.d.o can show the whole description where it's supposed to show only the short



On Tue, 15 Dec 2015, Mattia Rizzolo wrote:
> BTW, attached another example with syslog-summary, I'm going to NMU it,
> I'll hold it off till tomorrow so you can have a look at it, if you
> want.

I fixed the database:

for p in BinaryPackage.objects.filter(short_description__contains='\n'):
    p.short_description = p.short_description.split('\n', 1)[0]
    p.save()

It now looks good everywhere. :)

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: