Skip to content

Commit

Permalink
Iterator stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielschowe committed Sep 18, 2024
1 parent f365372 commit c959798
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pontos/github/api/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ async def delete_package_with_tag(
tag="latest",
)
"""
async for package_version in self.package_versions(organization, package_type, package_name):
for package_version in self.package_versions(organization, package_type, package_name):
print(package_version)
api = f"/orgs/{organization}/packages/{package_type}/{package_name}/versions/tags/{tag}"
response = await self._client.delete(api)
Expand Down
1 change: 0 additions & 1 deletion tests/github/api/test_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ async def test_package_version(self):
)
self.assertEqual(package_version.metadata.container.tags, ["latest"])


# line 200 - 242
async def test_package_version_tags(self):
response = create_response()
Expand Down

0 comments on commit c959798

Please sign in to comment.