Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Brain <andrewbrain2019@gmail.com>
  • Loading branch information
ABrain7710 committed Jul 23, 2024
1 parent a951d13 commit 208148c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/tasks/github/util/github_graphql_data_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 208148c

Please sign in to comment.