mirror of https://github.com/zulip/zulip.git
lint: Clean up E714 PEP-8 rule.
This commit is contained in:
parent
d96f392147
commit
a088cdaa04
|
@ -88,7 +88,7 @@ def check_pep8(files):
|
|||
# actually be cleaned up.
|
||||
#
|
||||
'E123', 'E126', 'E226', 'E241', 'E261', 'E302',
|
||||
'E401', 'E501', 'E702', 'E711', 'E712', 'E713', 'E714',
|
||||
'E401', 'E501', 'E702', 'E711', 'E712', 'E713',
|
||||
|
||||
#
|
||||
# Each of these rules are ignored for the explained reason.
|
||||
|
|
|
@ -134,7 +134,7 @@ def home_real(request):
|
|||
|
||||
# Reset our don't-spam-users-with-email counter since the
|
||||
# user has since logged in
|
||||
if not user_profile.last_reminder is None:
|
||||
if user_profile.last_reminder is not None:
|
||||
user_profile.last_reminder = None
|
||||
user_profile.save(update_fields=["last_reminder"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue