diff options
Diffstat (limited to 'ipapython/ipaldap.py')
-rw-r--r-- | ipapython/ipaldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index 66622ef61..705d694b2 100644 --- a/ipapython/ipaldap.py +++ b/ipapython/ipaldap.py @@ -831,7 +831,7 @@ class LDAPClient(object): return 'TRUE' else: return 'FALSE' - elif isinstance(val, (unicode, float, int, long, Decimal, DN)): + elif isinstance(val, (unicode, six.integer_types, long, Decimal, DN)): return value_to_utf8(val) elif isinstance(val, DNSName): return str(val) |