From 98c535b9fc3e89bef5deb479590a9509440b494a Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Fri, 5 Jan 2018 07:59:53 -0800 Subject: [PATCH] Remove unused local variable, norm_func https://github.com/python-ldap/python-ldap/pull/140 --- Lib/ldap/modlist.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/ldap/modlist.py b/Lib/ldap/modlist.py index e1dfe44..ecd7a42 100644 --- a/Lib/ldap/modlist.py +++ b/Lib/ldap/modlist.py @@ -73,7 +73,6 @@ def modifyModlist( replace_attr_value = len(old_value)!=len(new_value) if not replace_attr_value: if attrtype_lower in case_ignore_attr_types: - norm_func = str.lower old_value_set = set(map(str.lower,old_value)) new_value_set = set(map(str.lower,new_value)) else: