From 92f5bbd37f6e11c1a04d52067ff5305543bf2710 Mon Sep 17 00:00:00 2001 From: Leonidas Spyropoulos <artafinde@archlinux.org> Date: Sat, 17 Aug 2024 01:31:43 +0100 Subject: [PATCH] housekeep: reformat asgi.py --- aurweb/asgi.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aurweb/asgi.py b/aurweb/asgi.py index 4fb62bac4..684dc4c42 100644 --- a/aurweb/asgi.py +++ b/aurweb/asgi.py @@ -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 -- GitLab