mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
remove unused imports, rectify isort violations
Files got into the branch that violate both PEP-8 guidelines and isorts. This fixes them. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
4d1faca447
commit
5ceeb88bee
7 changed files with 12 additions and 21 deletions
|
@ -65,8 +65,6 @@ class User:
|
|||
|
||||
def valid_password(self, password: str):
|
||||
""" Check authentication against a given password. """
|
||||
from aurweb.db import session
|
||||
|
||||
if password is None:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue