mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: reformat asgi.py
This commit is contained in:
parent
6c6ecd3971
commit
92f5bbd37f
1 changed files with 6 additions and 2 deletions
|
@ -215,8 +215,12 @@ async def http_exception_handler(request: Request, exc: HTTPException) -> Respon
|
|||
try:
|
||||
pkgbase = get_pkg_or_base(matches.group(1))
|
||||
context["pkgbase"] = pkgbase
|
||||
context["git_clone_uri_anon"] = aurweb.config.get("options", "git_clone_uri_anon")
|
||||
context["git_clone_uri_priv"] = aurweb.config.get("options", "git_clone_uri_priv")
|
||||
context["git_clone_uri_anon"] = aurweb.config.get(
|
||||
"options", "git_clone_uri_anon"
|
||||
)
|
||||
context["git_clone_uri_priv"] = aurweb.config.get(
|
||||
"options", "git_clone_uri_priv"
|
||||
)
|
||||
except HTTPException:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue