PEP8: Code cleanups

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-11-27 04:26:56 -04:00
parent 03d51fe8e1
commit cb408c768d
6 changed files with 12 additions and 33 deletions
+3 -2
View File
@@ -9,8 +9,9 @@ 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
)