PEP8 cleanups

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-13 01:51:23 -04:00
parent f3413b4283
commit f6089e689e
8 changed files with 30 additions and 45 deletions
+5 -2
View File
@@ -9,8 +9,11 @@ from .icons import icon_logout, icon_password_change
def has_usable_password_and_can_change_password(context):
return (
context['request'].user.has_usable_password and
not context['request'].user.user_options.block_password_change
context[
'request'
].user.has_usable_password and not context[
'request'
].user.user_options.block_password_change
)