mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-09-04 02:48:32 +02:00
Transformed comment type annotations to variable declaration annotations.
This commit is contained in:
@ -180,7 +180,7 @@ class Software:
|
||||
# pylint: disable=too-many-return-statements
|
||||
software = str(banner.software)
|
||||
mx = re.match(r'^dropbear_([\d\.]+\d+)(.*)', software)
|
||||
v = None # type: Optional[str]
|
||||
v: Optional[str] = None
|
||||
if mx is not None:
|
||||
patch = cls._fix_patch(mx.group(2))
|
||||
v, p = 'Matt Johnston', Product.DropbearSSH
|
||||
|
Reference in New Issue
Block a user