mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-29 16:12:26 +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
6bc90d8827
commit
b8288bfc57
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def index(request):
|
||||||
'user_id': v.revision.user_id,
|
'user_id': v.revision.user_id,
|
||||||
'version': v }
|
'version': v }
|
||||||
else :
|
else :
|
||||||
to_remove.append(i)
|
to_remove.insert(0,i)
|
||||||
# Remove all tagged invalid items
|
# Remove all tagged invalid items
|
||||||
for i in to_remove :
|
for i in to_remove :
|
||||||
versions.object_list.pop(i)
|
versions.object_list.pop(i)
|
||||||
|
|
Loading…
Reference in a new issue