Fixing bug in DbMemory.del_list(), where if you passed a filter to delete the whole... 43/6043/1
authorEduardo Sousa <eduardosousa@av.it.pt>
Thu, 26 Apr 2018 14:55:05 +0000 (15:55 +0100)
committerEduardo Sousa <eduardosousa@av.it.pt>
Thu, 26 Apr 2018 14:55:05 +0000 (15:55 +0100)
commit857731b9e8361672cb255dc059aac866a4a2575e
tree621eb1dda35edf752e5dbb06dcf86f9529abedad
parent22f0fcd7a41bfb43c2f3534e0b557f02217ef50f
Fixing bug in DbMemory.del_list(), where if you passed a filter to delete the whole table it would give index out of bounds. Updated unit test to cover that case.

Change-Id: I1282bd637567ca651ffcd201edfc8ff9fd0950d7
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
osm_common/dbmemory.py
osm_common/tests/test_dbmemory.py