Commit bb9ec81a authored by Michal Čihař's avatar Michal Čihař

Fix name for dummy variable

parent ce0130b3
......@@ -148,7 +148,7 @@ def parse_hosts_line(line):
'''
Parses single hosts line into tuple host, key fingerprint.
'''
host, ignore, key = line.strip().partition(' ssh-rsa ')
host, dummy, key = line.strip().partition(' ssh-rsa ')
fp_plain = hashlib.md5(key.decode('base64')).hexdigest()
fingerprint = ':'.join(
[a + b for a, b in zip(fp_plain[::2], fp_plain[1::2])]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment