mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 01:14:21 +01:00
pep8
This commit is contained in:
parent
18fdeb483e
commit
42759f1cc4
@ -323,6 +323,7 @@ class Backend(ldapcherry.backend.Backend):
|
|||||||
if s is None:
|
if s is None:
|
||||||
return None
|
return None
|
||||||
return s.encode('utf-8')
|
return s.encode('utf-8')
|
||||||
|
|
||||||
def _uni(self, s):
|
def _uni(self, s):
|
||||||
"""bytes -> unicode conversion"""
|
"""bytes -> unicode conversion"""
|
||||||
if s is None:
|
if s is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user