Skip to content

Commit

Permalink
Revert "debug statements"
Browse files Browse the repository at this point in the history
This reverts commit 4e52386.
  • Loading branch information
fliepeltje committed Dec 14, 2023
1 parent 4e52386 commit e69cf01
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ async def repo_from_resp(response) -> Repo:
async def get_org_repos(org: OrganizationConfig) -> list[Repo]:
token = os.environ[org.token_ref]
headers = {"Authorization": f"Bearer {token}"}
print(f"Getting repos for {org.name}")
repos = []
async with httpx.AsyncClient() as client:
page = 1
Expand All @@ -149,13 +148,11 @@ async def get_org_repos(org: OrganizationConfig) -> list[Repo]:
page += 1
else:
response.raise_for_status()
print(f"Got {len(repos)} repos for {org.name}")
return repos

if __name__ == "__main__":
with open("config.toml") as f:
data = toml.load(f)
print("initializing config")
config = Config(
organizations=[
OrganizationConfig(name=org["name"], token_ref=org["token_ref"])
Expand Down

0 comments on commit e69cf01

Please sign in to comment.