mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-10-31 23:22:49 +00:00
Fix : Quand on retire un elt d'une liste, la taille de la liste diminue
Faisait crasher dans certains cas
This commit is contained in:
parent
7cc87388f9
commit
9e0ab9df33
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def index(request):
|
|||
'user_id': v.revision.user_id,
|
||||
'version': v }
|
||||
else :
|
||||
to_remove.append(i)
|
||||
to_remove.insert(0,i)
|
||||
# Remove all tagged invalid items
|
||||
for i in to_remove :
|
||||
versions.object_list.pop(i)
|
||||
|
|
Loading…
Reference in a new issue