summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-09-20 03:43:30 -0400
committerMartin Kosek <mkosek@redhat.com>2012-09-20 10:44:28 +0200
commit9a167d667c3b3e10f6830d6e91a6a2ce25b3826b (patch)
treec2b92aaf4b2081e34ba5dddb70f05817d0a59e75
parent459016d12b851aa0ba50554775fe90e532e32b58 (diff)
downloadfreeipa-9a167d667c3b3e10f6830d6e91a6a2ce25b3826b.tar.gz
freeipa-9a167d667c3b3e10f6830d6e91a6a2ce25b3826b.tar.xz
freeipa-9a167d667c3b3e10f6830d6e91a6a2ce25b3826b.zip
SSHPublicKey.fingerprint_dns_sha1 should return unicode value.
-rw-r--r--ipapython/ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ssh.py b/ipapython/ssh.py
index 667d21e1e..6686e9124 100644
--- a/ipapython/ssh.py
+++ b/ipapython/ssh.py
@@ -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)