mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
pep8ification
This commit is contained in:
parent
12bb597903
commit
819e575a28
@ -1156,13 +1156,18 @@ class LdapCherry(object):
|
|||||||
form=form,
|
form=form,
|
||||||
roles=roles,
|
roles=roles,
|
||||||
is_admin=is_admin,
|
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,
|
backends_display_names=self.backends_display_names,
|
||||||
custom_js=self.custom_js,
|
custom_js=self.custom_js,
|
||||||
notifications=self._empty_notification(),
|
notifications=self._empty_notification(),
|
||||||
)
|
)
|
||||||
except NameError:
|
except NameError:
|
||||||
raise TemplateRenderError(exceptions.text_error_template().render())
|
raise TemplateRenderError(
|
||||||
|
exceptions.text_error_template().render()
|
||||||
|
)
|
||||||
|
|
||||||
return glued_template
|
return glued_template
|
||||||
|
|
||||||
|
@ -16,7 +16,8 @@ from sets import Set
|
|||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
# List of available types for form
|
# List of available types for form
|
||||||
types = ['string', 'textfield', 'email', 'int', 'stringlist', 'fix', 'password']
|
types = ['string', 'textfield', 'email', 'int', 'stringlist',
|
||||||
|
'fix', 'password']
|
||||||
|
|
||||||
|
|
||||||
class Attributes:
|
class Attributes:
|
||||||
|
Loading…
Reference in New Issue
Block a user