mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 10:31:41 +01:00
Suppressed pylint warning.
This commit is contained in:
parent
1acfb01e61
commit
ec76dac2fc
@ -60,7 +60,7 @@ class Software:
|
||||
return self.__os
|
||||
|
||||
def compare_version(self, other: Union[None, 'Software', str]) -> int:
|
||||
# pylint: disable=too-many-branches
|
||||
# pylint: disable=too-many-branches,too-many-return-statements
|
||||
if other is None:
|
||||
return 1
|
||||
if isinstance(other, Software):
|
||||
|
Loading…
Reference in New Issue
Block a user