1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-23 13:20:03 +01:00

pep8 compliance

This commit is contained in:
kakwa 2015-07-11 22:05:33 +02:00
parent f73d4e37bc
commit bbeaebe77d

View File

@ -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)