Mutate the response when reversing
This commit is contained in:
parent
1bdd332e6e
commit
ffc1aaa030
|
@ -328,7 +328,7 @@ class StorageBackend(ABC):
|
||||||
if kwargs.get("annotate"):
|
if kwargs.get("annotate"):
|
||||||
annotate_results(response)
|
annotate_results(response)
|
||||||
if kwargs.get("reverse"):
|
if kwargs.get("reverse"):
|
||||||
response = response[::-1]
|
response.reverse()
|
||||||
if kwargs.get("dedup"):
|
if kwargs.get("dedup"):
|
||||||
if not kwargs.get("dedup_fields"):
|
if not kwargs.get("dedup_fields"):
|
||||||
dedup_fields = ["msg", "nick", "ident", "host", "net", "channel"]
|
dedup_fields = ["msg", "nick", "ident", "host", "net", "channel"]
|
||||||
|
|
Loading…
Reference in New Issue