mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Removed caching from contains due to the use of a list (non hashable) as parameter
This commit is contained in:
parent
81c5429f40
commit
ad2b746f03
@ -236,7 +236,6 @@ def networks_from_str(
|
||||
"""
|
||||
return [network_from_str(str_net, version) for str_net in re.split('[;,]', networks_str) if str_net]
|
||||
|
||||
@functools.lru_cache(maxsize=32)
|
||||
def contains(
|
||||
networks: typing.Union[str, NetworkType, list[NetworkType]],
|
||||
ip: typing.Union[str, int],
|
||||
|
Loading…
Reference in New Issue
Block a user