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