mirror of
https://github.com/kakwa/ldapcherry
synced 2024-12-22 21:00:04 +01:00
pep8ification
This commit is contained in:
parent
12bb597903
commit
819e575a28
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user