From 208148cd847a84625a3db8368d3002fd52513838 Mon Sep 17 00:00:00 2001 From: Andrew Brain Date: Mon, 22 Jul 2024 19:13:23 -0500 Subject: [PATCH] Fix syntax error Signed-off-by: Andrew Brain --- augur/tasks/github/util/github_graphql_data_access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/tasks/github/util/github_graphql_data_access.py b/augur/tasks/github/util/github_graphql_data_access.py index fe64ba129..e58844404 100644 --- a/augur/tasks/github/util/github_graphql_data_access.py +++ b/augur/tasks/github/util/github_graphql_data_access.py @@ -210,6 +210,6 @@ def __get_total_count(self, data): except ValueError as exc: raise Exception(f"Error: totalCount is not an integer. Data: {data}") from exc - def __find_first_error_of_type(errors, type): + def __find_first_error_of_type(self, errors, type): return next((error for error in errors if error.get("type").lower() == type.lower()), None)