From a5f48476adfd9971a1756bd5ad3cb7c9e2afef22 Mon Sep 17 00:00:00 2001 From: David Kupka Date: Tue, 21 Jun 2016 16:12:41 +0200 Subject: [PATCH] schema: return fingerprint as unicode text https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: Jan Cholasta --- ipaserver/plugins/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/plugins/schema.py b/ipaserver/plugins/schema.py index df3bff1d0..a67d7b243 100644 --- a/ipaserver/plugins/schema.py +++ b/ipaserver/plugins/schema.py @@ -727,7 +727,7 @@ class schema(Command): else: fingerprint.update(unicode(entry).encode('utf-8')) - return fingerprint.hexdigest()[:8] + return unicode(fingerprint.hexdigest()[:8]) def _generate_schema(self, **kwargs): commands = list(self.api.Object.command.search(**kwargs))