mirror of
https://github.com/xxh/xxh
synced 2024-11-26 05:40:16 +00:00
🐛 Fix #87.
Remove line which includes `|` to ignore visual host fingerprint key log.
This commit is contained in:
parent
44bc1a3eef
commit
d2f1b05170
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ class xxh:
|
|||
self.eeprint('Empty answer from host when getting first info. Often this is a connection error.\n'
|
||||
+ 'Check your connection parameters using the same command but with ssh.')
|
||||
|
||||
r = dict([l.split('=') for l in r.replace('\r','').split('\n') if l.strip() != '' and '=' in l])
|
||||
r = dict([l.split('=') for l in r.replace('\r','').split('\n') if l.strip() != '' and '=' in l and '|' not in l])
|
||||
r = {k: (v[1:-1] if v[:1] == "'" and v[-1:] == "'" else v) for k, v in r.items()}
|
||||
|
||||
return r
|
||||
|
|
Loading…
Reference in a new issue