SSHPublicKey.fingerprint_dns_sha1 should return unicode value.

This commit is contained in:
Jan Cholasta 2012-09-20 03:43:30 -04:00 committed by Martin Kosek
parent 459016d12b
commit 9a167d667c

View File

@ -196,4 +196,4 @@ class SSHPublicKey(object):
else:
return
fp = sha1(self._key).hexdigest().upper()
return '%d 1 %s' % (keytype, fp)
return u'%d 1 %s' % (keytype, fp)