Remove deletion logic duplication
This commit is contained in:
parent
0ae8ef882e
commit
838a712d57
1 changed files with 0 additions and 1 deletions
|
@ -51,4 +51,3 @@ def cleanup_keys(request):
|
||||||
# Delete keys only once
|
# Delete keys only once
|
||||||
if conn.decr(once_key) == 0:
|
if conn.decr(once_key) == 0:
|
||||||
_delete_test_keys(TEST_PREFIX, conn)
|
_delete_test_keys(TEST_PREFIX, conn)
|
||||||
conn.delete(once_key)
|
|
||||||
|
|
Loading…
Reference in a new issue