mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-25 20:11:40 +01:00
Fix pylint reported dangerous-default-value.
This commit is contained in:
parent
67087fb920
commit
5be64a8ad2
@ -1353,8 +1353,9 @@ def get_ssh_version(version_desc):
|
||||
return (SSH.Product.OpenSSH, version_desc)
|
||||
|
||||
|
||||
def get_alg_timeframe(versions, for_server=True, result={}):
|
||||
# type: (List[str], bool, Dict[str, List[Optional[str]]]) -> Dict[str, List[Optional[str]]]
|
||||
def get_alg_timeframe(versions, for_server=True, result=None):
|
||||
# type: (List[str], bool, Optional[Dict[str, List[Optional[str]]]]) -> Dict[str, List[Optional[str]]]
|
||||
result = result or {}
|
||||
vlen = len(versions)
|
||||
for i in range(3):
|
||||
if i > vlen - 1:
|
||||
|
Loading…
Reference in New Issue
Block a user