Trick pep8 into ignoring E721.

We really do need to compare types here, the types should be identical.

Change-Id: I56d8e34b1b7be69b98a58071226511c0787fecac
Revert "Copy escape_bytes function from ldap3."

This reverts commit 0503569c372eabb76de3947c155d9d41c06c364c.

No longer needed.

Change-Id: If0fbf6c347d8c357dc7c46c33525c245fd454659