run_command returns a CalledProcess object, no 'output' attribute, but 'stdout' instead
This commit is contained in:
parent
79208bc00b
commit
e1a6542d86
|
@ -55,7 +55,7 @@ def host_key_fingerprints():
|
|||
log.debug("sshd -T failed %r", config['err'])
|
||||
return []
|
||||
keyfiles = []
|
||||
for line in config.output.splitlines():
|
||||
for line in config.stdout.splitlines():
|
||||
if line.startswith('hostkey '):
|
||||
keyfiles.append(line.split(None, 1)[1])
|
||||
info = []
|
||||
|
|
Loading…
Reference in New Issue