[whos] On ne génère pas une liste qui ne sert à rien

This commit is contained in:
Vincent Le Gallic 2014-03-18 03:30:42 +01:00
parent 3ce87c4331
commit 45dc21acd7

View file

@ -938,7 +938,7 @@ def _hist(clas) :
h.reverse() h.reverse()
if h : if h :
f += coul(u'Historique : ','gras') f += coul(u'Historique : ','gras')
for i in range(0,limit_aff_historique) : for i in xrange(0,limit_aff_historique) :
try : try :
a = h[i] # Produit une erreur si i trop grand a = h[i] # Produit une erreur si i trop grand
if i !=0 : f += ' ' if i !=0 : f += ' '