Skip to content

Commit

Permalink
fix: fix quality issues
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Jan 31, 2025
1 parent 2df5153 commit 61fa02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/djangoapps/student/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ def clear_lockout_counter(cls, user):
entry = cls._get_record_for_user(user)
entry.delete()
except ObjectDoesNotExist:
return # pylint: disable=useless-return
pass

def __str__(self):
"""Str -> Username: count - date."""
Expand Down

0 comments on commit 61fa02e

Please sign in to comment.