1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-26 03:04:30 +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): 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)