Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facade Quick Fix #2742

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Facade Quick Fix #2742

merged 1 commit into from
Mar 15, 2024

Conversation

IsaacMilarky
Copy link
Contributor

Description

  • Add error handling for strange error where the first element of a list cannot be retrieved after verifying the api says it should have elements in it
  • Add exit for strange error where repo_id is null in facade

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
@@ -252,7 +252,7 @@ def analyze_commits_in_parallel(repo_git, multithreaded: bool)-> None:
session.log_activity('Debug',f"Commits missing from repo {repo_id}: {len(missing_commits)}")


if not len(missing_commits):
if not len(missing_commits) or repo_id is None:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
C1802: Do not use len(SEQUENCE) without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len)

@sgoggins sgoggins merged commit 9d69d7b into main Mar 15, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants