From 6a8a1302801b60592cb9667e2e07619d4b3e29fd Mon Sep 17 00:00:00 2001 From: Akshay Adhikari Date: Fri, 8 Dec 2017 15:27:43 +0530 Subject: [PATCH] Issue 49379 - Add Python 3 support to CI test Bug Description: lib389/rootdse.py library did not support python 3 Fix Description: use byte type for the supportedSASLMechanisms https://pagure.io/389-ds-base/issue/49379 Reviewed by: Simon Pichugin --- src/lib389/lib389/rootdse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib389/lib389/rootdse.py b/src/lib389/lib389/rootdse.py index d0a2e9d..aa17561 100644 --- a/src/lib389/lib389/rootdse.py +++ b/src/lib389/lib389/rootdse.py @@ -22,7 +22,7 @@ class RootDSE(DSLdapObject): self._dn = "" def supported_sasl(self): - return self.get_attr_vals('supportedSASLMechanisms') + return self.get_attr_vals_utf8('supportedSASLMechanisms') def supports_sasl_gssapi(self): return self.present("supportedSASLMechanisms", 'GSSAPI') -- 1.8.3.1