lint: various non-semantic fixes
bumping fail-under for pylint to 9.72
This commit is contained in:
parent
7a54e4ea96
commit
f6452cb4fa
14 changed files with 47 additions and 29 deletions
|
@ -105,8 +105,7 @@ def list_new(group_id: Optional[int] = None) -> ResponseReturnValue:
|
|||
db.session.commit()
|
||||
flash("Created new mirror list.", "success")
|
||||
return redirect(url_for("portal.list.list_list"))
|
||||
except exc.SQLAlchemyError as e:
|
||||
print(e)
|
||||
except exc.SQLAlchemyError:
|
||||
flash("Failed to create new mirror list.", "danger")
|
||||
return redirect(url_for("portal.list.list_list"))
|
||||
if group_id:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue