Skip to content

Commit

Permalink
Remove unused local variable, norm_func
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Dufresne authored and Petr Viktorin committed Jan 5, 2018
1 parent 51229fd commit 98c535b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/ldap/modlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 98c535b

Please sign in to comment.