Skip to content

Commit

Permalink
linters fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ptichoid committed Jul 8, 2024
1 parent e2a0099 commit 2650a13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

class EnvVariables:
required_env_vars = [
"DB_HOST", "DB_PORT", "DB_CSV", "DB_USER", "DB_ORPH", "DB_ZUUL", "DB_PASSWORD", "GITEA_TOKEN", "GITHUB_TOKEN", "GITHUB_FALLBACK_TOKEN"
"DB_HOST", "DB_PORT", "DB_CSV", "DB_USER", "DB_ORPH", "DB_ZUUL", "DB_PASSWORD", "GITEA_TOKEN", "GITHUB_TOKEN",
"GITHUB_FALLBACK_TOKEN"
]

def __init__(self):
Expand Down
2 changes: 1 addition & 1 deletion failed_zuul.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def get_failed_prs(org, repo, gitea_token, conn_zuul, cur_zuul, table_name):
if repo != "doc-exports":
page = 1
while True:
# logging.info(f"Fetching PRs for {org} {repo}, page {page}...") # Debug print, uncomment if script hangs
# logging.info(f"Fetching PRs for {org} {repo}, page {page}...") # Debug, uncomment if script hangs
repo_resp = session.get(
f"{GITEA_API_ENDPOINT}/repos/{org}/{repo}/pulls?state=open&page={page}&token=\
{gitea_token}")
Expand Down

0 comments on commit 2650a13

Please sign in to comment.