mirror of
https://github.com/jtesta/ssh-audit.git
synced 2026-10-27 11:31:29 +01:00
Fix pylint reported dangerous-default-value.
This commit is contained in:
1 parent
67087fb920
commit
5be64a8ad2
1 file changed
+3
-2
+3
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user