mirror of
https://github.com/xxh/xxh
synced 2025-02-18 05:18:26 +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'
|
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.')
|
+ '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()}
|
r = {k: (v[1:-1] if v[:1] == "'" and v[-1:] == "'" else v) for k, v in r.items()}
|
||||||
|
|
||||||
return r
|
return r
|
||||||
|
|
Loading…
Add table
Reference in a new issue