diff --git a/ldapcherry/__init__.py b/ldapcherry/__init__.py index 4d9d5ae..dc5eac5 100644 --- a/ldapcherry/__init__.py +++ b/ldapcherry/__init__.py @@ -1156,13 +1156,18 @@ class LdapCherry(object): form=form, roles=roles, is_admin=is_admin, - standalone_groups=self._escape(standalone_groups, 'lonely_groups'), + standalone_groups=self._escape( + standalone_groups, + 'lonely_groups' + ), backends_display_names=self.backends_display_names, custom_js=self.custom_js, notifications=self._empty_notification(), ) except NameError: - raise TemplateRenderError(exceptions.text_error_template().render()) + raise TemplateRenderError( + exceptions.text_error_template().render() + ) return glued_template diff --git a/ldapcherry/attributes.py b/ldapcherry/attributes.py index 5ba525f..01fa396 100644 --- a/ldapcherry/attributes.py +++ b/ldapcherry/attributes.py @@ -16,7 +16,8 @@ from sets import Set import yaml # List of available types for form -types = ['string', 'textfield', 'email', 'int', 'stringlist', 'fix', 'password'] +types = ['string', 'textfield', 'email', 'int', 'stringlist', + 'fix', 'password'] class Attributes: