From 83a36adc9b8591c21ba48f671ed323bb626e90a5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:54:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../_impl/backend/errata_source/errata_http_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pushsource/_impl/backend/errata_source/errata_http_client.py b/src/pushsource/_impl/backend/errata_source/errata_http_client.py index a4c2badd..3e2d6976 100644 --- a/src/pushsource/_impl/backend/errata_source/errata_http_client.py +++ b/src/pushsource/_impl/backend/errata_source/errata_http_client.py @@ -13,6 +13,7 @@ LOG = logging.getLogger("pushsource.errata_http_client") + def return_none_if_unauthenticated(func): @wraps(func) def wrapper_return_none_if_unauthenticated(self, *args, **kwargs): @@ -22,6 +23,7 @@ def wrapper_return_none_if_unauthenticated(self, *args, **kwargs): return wrapper_return_none_if_unauthenticated + class ErrataHTTPClient: """Class for performing HTTP API queries with Errata."""