mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +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):
|
||||
if param in self.config:
|
||||
return self.config[param]
|
||||
elif not default is None:
|
||||
elif default is not None:
|
||||
return default
|
||||
else:
|
||||
raise MissingParameter('backends', self.backend_name + '.' + param)
|
||||
|
Loading…
Reference in New Issue
Block a user