Revert "Update the ldap scripts to pep8 compliant"

Not merged on sockpuppet

This reverts commit 30761945baa9f42b43bf7ac0717b544468a96452

Change-Id: I97b1fa48608500908b325d7317ae56341037e7e4
Merge "Revert "Update the ldap scripts to pep8 compliant"" into production