mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-29 12:44:31 +01:00
pep8 compliance
This commit is contained in:
parent
f73d4e37bc
commit
bbeaebe77d
@ -43,7 +43,7 @@ class Backend:
|
|||||||
def get_param(self, param, default=None):
|
def get_param(self, param, default=None):
|
||||||
if param in self.config:
|
if param in self.config:
|
||||||
return self.config[param]
|
return self.config[param]
|
||||||
elif not default is None:
|
elif default is not None:
|
||||||
return default
|
return default
|
||||||
else:
|
else:
|
||||||
raise MissingParameter('backends', self.backend_name + '.' + param)
|
raise MissingParameter('backends', self.backend_name + '.' + param)
|
||||||
|
Loading…
Reference in New Issue
Block a user