From 88fc27da529e2d098a10bac4abb280a0445dfa5f Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 23 Sep 2015 12:33:16 +0200 Subject: [PATCH] ipaldap: Remove extraneous `long` (included in six.int_types) Reviewed-By: Tomas Babej --- ipapython/ipaldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index e0ebabbfc..38c6aad04 100644 --- a/ipapython/ipaldap.py +++ b/ipapython/ipaldap.py @@ -833,7 +833,7 @@ class LDAPClient(object): return 'TRUE' else: return 'FALSE' - elif isinstance(val, (unicode, six.integer_types, long, Decimal, DN)): + elif isinstance(val, (unicode, six.integer_types, Decimal, DN)): return value_to_utf8(val) elif isinstance(val, DNSName): return val.to_text()