mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-12-23 06:27:41 +01:00
Fix Software __repr__.
This commit is contained in:
parent
b11018bd7d
commit
e8fd70a541
@ -269,7 +269,9 @@ class SSH(object):
|
||||
def __repr__(self):
|
||||
out = 'vendor={0} '.format(self.vendor) if self.vendor else ''
|
||||
if self.product:
|
||||
out += ', product={0}'.format(self.software)
|
||||
if self.vendor:
|
||||
out += ', '
|
||||
out += 'product={0}'.format(self.product)
|
||||
if self.version:
|
||||
out += ', version={0}'.format(self.version)
|
||||
if self.patch:
|
||||
|
Loading…
Reference in New Issue
Block a user