-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modules: Remove _ldap._forward and _ldap._reverse
These were created only as:
forward = {}
reverse = {0: None}
The only use was the function LDAPconstant, equivalent to:
def LDAPconstant(i):
return reverse.get(i, i)
It looks like these were prepared for a better future, but python-ldap
has gone for years or decades without needing to actually use them.
Remove both dictionaries and the function.- Loading branch information
Petr Viktorin
committed
Nov 27, 2017
1 parent
a72aaac
commit 8807e75
Showing
2 changed files
with
7 additions
and
29 deletions.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters